toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "item_name": this.itemName,
      "qty": this.qty,
      "unique": this.unique,
      "price": this.price,
      "cat1": this.cat1,
      "cat2": this.cat2,
      "cat3": this.cat3,
    };