ProductDeliveryTime.fromJson constructor
ProductDeliveryTime.fromJson(
- Map json_
Implementation
ProductDeliveryTime.fromJson(core.Map json_)
: this(
areaDeliveryTimes:
(json_['areaDeliveryTimes'] as core.List?)
?.map(
(value) => ProductDeliveryTimeAreaDeliveryTime.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
productId:
json_.containsKey('productId')
? ProductId.fromJson(
json_['productId'] as core.Map<core.String, core.dynamic>,
)
: null,
);