upcE static method

Barcode upcE({
  1. bool fallback = false,
})

UPC-E Barcode

The Universal Product Code is a barcode symbology that is widely used in the United States, Canada, Europe, Australia, New Zealand, and other countries for tracking trade items in stores. To allow the use of UPC barcodes on smaller packages, where a full 12-digit barcode may not fit, a zero-suppressed version of UPC was developed, called UPC-E, in which the number system digit, all trailing zeros in the manufacturer code, and all leading zeros in the product code, are suppressed.

UPC E

fallback fallback to UPC-A if the code cannot be converted to UPC-E

Implementation

static Barcode upcE({bool fallback = false}) => BarcodeUpcE(fallback);