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