OrderTrackingSignalShippingInfo.fromJson constructor
OrderTrackingSignalShippingInfo.fromJson(
- Map json_
Implementation
OrderTrackingSignalShippingInfo.fromJson(core.Map json_)
: this(
actualDeliveryTime: json_.containsKey('actualDeliveryTime')
? DateTime.fromJson(json_['actualDeliveryTime']
as core.Map<core.String, core.dynamic>)
: null,
carrierName: json_.containsKey('carrierName')
? json_['carrierName'] as core.String
: null,
carrierServiceName: json_.containsKey('carrierServiceName')
? json_['carrierServiceName'] as core.String
: null,
earliestDeliveryPromiseTime:
json_.containsKey('earliestDeliveryPromiseTime')
? DateTime.fromJson(json_['earliestDeliveryPromiseTime']
as core.Map<core.String, core.dynamic>)
: null,
latestDeliveryPromiseTime:
json_.containsKey('latestDeliveryPromiseTime')
? DateTime.fromJson(json_['latestDeliveryPromiseTime']
as core.Map<core.String, core.dynamic>)
: null,
originPostalCode: json_.containsKey('originPostalCode')
? json_['originPostalCode'] as core.String
: null,
originRegionCode: json_.containsKey('originRegionCode')
? json_['originRegionCode'] as core.String
: null,
shipmentId: json_.containsKey('shipmentId')
? json_['shipmentId'] as core.String
: null,
shippedTime: json_.containsKey('shippedTime')
? DateTime.fromJson(
json_['shippedTime'] as core.Map<core.String, core.dynamic>)
: null,
shippingStatus: json_.containsKey('shippingStatus')
? json_['shippingStatus'] as core.String
: null,
trackingId: json_.containsKey('trackingId')
? json_['trackingId'] as core.String
: null,
);