ShippingRateDeliveryEstimate.fromJson constructor
ShippingRateDeliveryEstimate.fromJson(
- Object? json
Implementation
factory ShippingRateDeliveryEstimate.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return ShippingRateDeliveryEstimate(
maximum: map['maximum'] == null
? null
: ShippingRateDeliveryEstimateMaximum.fromJson(map['maximum']),
minimum: map['minimum'] == null
? null
: ShippingRateDeliveryEstimateMaximum.fromJson(map['minimum']),
);
}