BarcodeData constructor
Constructs a BarcodeData object containing the processed barcode data and other details.
- data: The processed barcode data.
- quantity: The quantity of the scanned item. Can be negative to indicate removal.
- symbologyId: The numeric ID of the symbology used for the scan.
- symbology: The human-readable name of the symbology.
- timeOfScan: The timestamp when the scan occurred.
Implementation
BarcodeData({
required this.data,
required this.dataBytes,
required this.quantity,
required this.symbologyId,
required this.symbology,
required this.timeOfScan,
required this.deviceId,
});