totalOrdered method
Implementation
int totalOrdered() {
int total = 0;
for (var element in productDataScannedList) {
total += element.totalOrderedQuantity!;
}
return total;
}
int totalOrdered() {
int total = 0;
for (var element in productDataScannedList) {
total += element.totalOrderedQuantity!;
}
return total;
}