toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (carrierName != null) 'carrierName': carrierName!,
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!,
};