allowedEanExtensions property

List<int>? allowedEanExtensions
final

Allowed extension lengths for EAN or UPC barcodes. Other formats will ignore this. Maps to an List<int> of the allowed extension lengths, for example 2, 5, or 2, 5. If it is optional to have an extension, do not set this hint. If this is set, and a UPC or EAN barcode is found but an extension is not, then no result will be returned at all.

Implementation

final List<int>? allowedEanExtensions;