PriceRange.fromJson constructor

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

Implementation

PriceRange.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  minQty = json['minQty'];
  maxQty = json['maxQty'];
  discount = json['discount'].toDouble();
  sellingPrice = json['sellingPrice'].toDouble();
  sTypename = json['__typename'];
}