toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (carrier != null) 'carrier': carrier!,
  if (carrierService != null) 'carrierService': carrierService!,
  if (flatAdjustment != null) 'flatAdjustment': flatAdjustment!,
  if (name != null) 'name': name!,
  if (originPostalCode != null) 'originPostalCode': originPostalCode!,
  if (percentageAdjustment != null)
    'percentageAdjustment': percentageAdjustment!,
};