isProcessOrder method

bool isProcessOrder(
  1. String barcode
)

Implementation

bool isProcessOrder(String barcode) {
  return allBarcodeCharactersAreNumbers(barcode) && barcode.length == 11;
}