ScanProductModel constructor

const ScanProductModel({
  1. required int itemCount,
  2. required String itemValue,
})

converts pinelabs response to dart object itemCount is the count of item scanned in multi scann. itemValue is the value of the scanned item.

Implementation

const ScanProductModel({
  required this.itemCount,
  required this.itemValue,
});