OrdersShipLineItemsRequest.fromJson constructor
OrdersShipLineItemsRequest.fromJson(
- Map json_
Implementation
OrdersShipLineItemsRequest.fromJson(core.Map json_)
: this(
lineItems: json_.containsKey('lineItems')
? (json_['lineItems'] as core.List)
.map((value) => OrderShipmentLineItemShipment.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
operationId: json_.containsKey('operationId')
? json_['operationId'] as core.String
: null,
shipmentGroupId: json_.containsKey('shipmentGroupId')
? json_['shipmentGroupId'] as core.String
: null,
shipmentInfos: json_.containsKey('shipmentInfos')
? (json_['shipmentInfos'] as core.List)
.map((value) =>
OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);