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