totalOrdered method

int totalOrdered()

Implementation

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