toJson method

Map<String, dynamic> toJson()

Implementation

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