toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (carrier != null) 'carrier': carrier!,
if (maxDaysInTransit != null) 'maxDaysInTransit': maxDaysInTransit!,
if (methodName != null) 'methodName': methodName!,
if (minDaysInTransit != null) 'minDaysInTransit': minDaysInTransit!,
};