# BarcodeItem constructor

BarcodeItem({

1. required String text,
2. BarcodeFormat format = BarcodeFormat.NONE,
3. required List<Point<int>> quad,
4. required List<Point<double>> quadNormalized,
5. bool isUpsideDown = false,
6. ImageRef? sourceImage,
7. required Uint8List rawBytes,
8. required String upcEanExtension,
9. bool isGS1Message = false,
10. bool isGS1CompositePart = false,
11. int dataBarStackSize = 1,
12. double sizeScore = 0.0,
13. required GenericDocument? extractedDocument,

})

## Implementation

    BarcodeItem({
      required this.text,
      this.format = BarcodeFormat.NONE,
      required this.quad,
      required this.quadNormalized,
      this.isUpsideDown = false,
      ImageRef? sourceImage,
      required this.rawBytes,
      required this.upcEanExtension,
      this.isGS1Message = false,
      this.isGS1CompositePart = false,
      this.dataBarStackSize = 1,
      this.sizeScore = 0.0,
      required this.extractedDocument,
    }) : sourceImage = sourceImage ?? null;