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