ContinuousScanModel class Null safety

Constructors

ContinuousScanModel()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
lastConsultedBarcode String?
write-only
latestConsultedBarcode String?
read-only
productList → dynamic
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clearScanSession() Future<void>
getBarcodes() List<String>
getBarcodeState(String barcode) ScannedProductState?
getProduct(String barcode) → dynamic
load(dynamic localDatabase) Future<ContinuousScanModel?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onCreateProduct(String? barcode) Future<bool>
onScan(String? code) Future<bool>
Adds a barcode Will return true if this barcode is successfully added
refresh() Future<void>
refreshProductList() Future<void>
removeBarcode(String barcode) Future<void>
retryBarcodeFetch(String barcode) Future<void>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited