checkProductIsAlreadyAdded method
Implementation
CollectStockCardModel? checkProductIsAlreadyAdded(String? materialCode) {
CollectStockCardModel? value;
for (final data in scannedProducts) {
if (data.materialCode == materialCode) {
value = data;
break;
}
}
return value;
}