BarcodeItem constructor
BarcodeItem({
- required String text,
- required Uint8List rawBytes,
- required List<
RangeEncoding> rawBytesEncodings, - required StructuredAppendInfo? structuredAppendInfo,
- BarcodeFormat format = BarcodeFormat.NONE,
- required List<
Point< quad,int> > - required List<
Point< quadNormalized,double> > - required List<
Point< extendedQuad,int> > - required List<
Point< extendedQuadNormalized,double> > - bool isUpsideDown = false,
- ImageRef? sourceImage,
- required String upcEanExtension,
- bool isGS1Message = false,
- bool isGS1CompositePart = false,
- int dataBarStackSize = 1,
- double sizeScore = 0.0,
- required GenericDocument? extractedDocument,
- int globalIndex = -1,
Implementation
BarcodeItem({
required this.text,
required this.rawBytes,
required this.rawBytesEncodings,
required this.structuredAppendInfo,
this.format = BarcodeFormat.NONE,
required this.quad,
required this.quadNormalized,
required this.extendedQuad,
required this.extendedQuadNormalized,
this.isUpsideDown = false,
ImageRef? sourceImage,
required this.upcEanExtension,
this.isGS1Message = false,
this.isGS1CompositePart = false,
this.dataBarStackSize = 1,
this.sizeScore = 0.0,
required this.extractedDocument,
this.globalIndex = -1,
}) : sourceImage = sourceImage ?? null;