toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (carrierRate != null) 'carrierRate': carrierRate!,
  if (flatRate != null) 'flatRate': flatRate!,
  if (noShipping != null) 'noShipping': noShipping!,
  if (pricePercentage != null) 'pricePercentage': pricePercentage!,
  if (subtable != null) 'subtable': subtable!,
};