ScanProductModel.fromMap constructor
get ScanProductModel from map
.
Implementation
factory ScanProductModel.fromMap(Map<String, dynamic> map) {
return ScanProductModel(
itemCount: map['itemCount'] ?? '',
itemValue: map['itemValue'] ?? '',
);
}