OpenScannerResponse class

Constructors

OpenScannerResponse({required String scannerId, required OperationResult result, String? scannerHandle, Map? options})
OpenScannerResponse.fromJS(OpenScannerResponse _wrapped)

Properties

hashCode → int
The hash code for this object.
no setterinherited
options ↔ Map?
If result is SUCCESS, provides a key-value mapping where the key is a device-specific option and the value is an instance of ScannerOption.
getter/setter pair
result ↔ OperationResult
The result of opening the scanner. If the value of this is SUCCESS, the scannerHandle and options properties will be populated.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scannerHandle ↔ String?
If result is SUCCESS, a handle to the scanner that can be used for further operations.
getter/setter pair
scannerId ↔ String
The scanner ID passed to openScanner().
getter/setter pair
toJS → OpenScannerResponse
no setter

Methods

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

Operators

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