HardwareScannerService class

Returns a Stream of BarcodeData which includes latest scanned object. Create an instance of a HardwareScannerService and then call initHardwareHandlerAndGetStream to start listening to the HardwareKeyboard then call scanStream to get the Stream.

Constructors

HardwareScannerService({required HardwareKeyboard hardwareKeyboard})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
initHardwareHandlerAndGetStream() Stream<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processFullCode(String code) → void
toString() String
A string representation of this object.
inherited

Operators

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