WeightBasedShippingRates.fromJson constructor

WeightBasedShippingRates.fromJson(
  1. Map<String, dynamic> json
)

Implementation

WeightBasedShippingRates.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  name = json['name'];
  price = json['price'];
  shippingZoneId = json['shipping_zone_id'];
  weightLow = json['weight_low'];
  weightHigh = json['weight_high'];
}