BarcodeCountStatusItem class

A class that stores a TrackedBarcode alongside its associated status.

Added in version 7.0.0

Constructors

BarcodeCountStatusItem.create(TrackedBarcode barcode, BarcodeCountStatus status)
factory
BarcodeCountStatusItem.withIcon(TrackedBarcode barcode, ScanditIcon? icon)
Constructs a new barcode count status item with an icon. Pass null for the icon to indicate that the barcode should not show any icon.
factory

Properties

barcode → TrackedBarcode
The tracked barcode.
no setter
hashCode → int
The hash code for this object.
no setterinherited
icon → ScanditIcon?
The icon associated to the barcode.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → BarcodeCountStatus
The status associated to the barcode. Items constructed with an icon instead of a status report BarcodeCountStatus.None.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited