Barcode constructor

Barcode({
  1. required BarcodeType type,
  2. required BarcodeFormat format,
  3. required String? displayValue,
  4. required String? rawValue,
  5. required Uint8List? rawBytes,
  6. required Rect boundingBox,
  7. required List<Point<int>> cornerPoints,
  8. required BarcodeValue? value,
})

Constructor to create an instance of Barcode.

Implementation

Barcode({
  required this.type,
  required this.format,
  required this.displayValue,
  required this.rawValue,
  required this.rawBytes,
  required this.boundingBox,
  required this.cornerPoints,
  required this.value,
});