toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final carrierPrice = this.carrierPrice;
  final carrierPriceFlatAdjustment = this.carrierPriceFlatAdjustment;
  final carrierPricePercentageAdjustment =
      this.carrierPricePercentageAdjustment;
  final carrierTransitTime = this.carrierTransitTime;
  final country = this.country;
  final fixedMaxTransitTime = this.fixedMaxTransitTime;
  final fixedMinTransitTime = this.fixedMinTransitTime;
  final flatPrice = this.flatPrice;
  final maxHandlingTime = this.maxHandlingTime;
  final minHandlingTime = this.minHandlingTime;
  final originPostalCode = this.originPostalCode;
  final postalCode = this.postalCode;
  final region = this.region;
  return {
    'carrierPrice': ?carrierPrice,
    'carrierPriceFlatAdjustment': ?carrierPriceFlatAdjustment,
    'carrierPricePercentageAdjustment': ?carrierPricePercentageAdjustment,
    'carrierTransitTime': ?carrierTransitTime,
    'country': ?country,
    'fixedMaxTransitTime': ?fixedMaxTransitTime,
    'fixedMinTransitTime': ?fixedMinTransitTime,
    'flatPrice': ?flatPrice,
    'maxHandlingTime': ?maxHandlingTime,
    'minHandlingTime': ?minHandlingTime,
    'originPostalCode': ?originPostalCode,
    'postalCode': ?postalCode,
    'region': ?region,
  };
}