toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final country = this.country;
  final locationGroupName = this.locationGroupName;
  final locationId = this.locationId;
  final maxHandlingTime = this.maxHandlingTime;
  final maxTransitTime = this.maxTransitTime;
  final minHandlingTime = this.minHandlingTime;
  final minTransitTime = this.minTransitTime;
  final postalCode = this.postalCode;
  final price = this.price;
  final region = this.region;
  final service = this.service;
  return {
    'country': ?country,
    'locationGroupName': ?locationGroupName,
    'locationId': ?locationId,
    'maxHandlingTime': ?maxHandlingTime,
    'maxTransitTime': ?maxTransitTime,
    'minHandlingTime': ?minHandlingTime,
    'minTransitTime': ?minTransitTime,
    'postalCode': ?postalCode,
    'price': ?price,
    'region': ?region,
    'service': ?service,
  };
}