toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (carrier != null) 'carrier': carrier!,
if (creationDate != null) 'creationDate': creationDate!,
if (deliveryDate != null) 'deliveryDate': deliveryDate!,
if (id != null) 'id': id!,
if (lineItems != null) 'lineItems': lineItems!,
if (scheduledDeliveryDetails != null)
'scheduledDeliveryDetails': scheduledDeliveryDetails!,
if (shipmentGroupId != null) 'shipmentGroupId': shipmentGroupId!,
if (status != null) 'status': status!,
if (trackingId != null) 'trackingId': trackingId!,
};