Item.fromJson constructor

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

Implementation

Item.fromJson(Map<String, dynamic> json) {
  itemName = json["item_name"];
  qty = json["qty"];
  unique = json["unique"];
  price = json["price"];

  cat1 = json["cat1"];
  cat2 = json["cat2"];
  cat3 = json["cat3"];
}