ShipmentInvoice.fromJson constructor
ShipmentInvoice.fromJson(
- Map json_
Implementation
ShipmentInvoice.fromJson(core.Map json_)
: this(
invoiceSummary: json_.containsKey('invoiceSummary')
? InvoiceSummary.fromJson(json_['invoiceSummary']
as core.Map<core.String, core.dynamic>)
: null,
lineItemInvoices: json_.containsKey('lineItemInvoices')
? (json_['lineItemInvoices'] as core.List)
.map((value) => ShipmentInvoiceLineItemInvoice.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
shipmentGroupId: json_.containsKey('shipmentGroupId')
? json_['shipmentGroupId'] as core.String
: null,
);