isSSCC method

bool isSSCC(
  1. String barcode
)

Implementation

bool isSSCC(String barcode) {
  return barcode.startsWith('003') &&
      barcode.length == 20 &&
      BarcodeUtils.allBarcodeCharactersAreNumbers(barcode);
}