toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (lineItemId != null) 'lineItemId': lineItemId!,
if (quantity != null) 'quantity': quantity!,
if (shipmentId != null) 'shipmentId': shipmentId!,
};