ScannerInfo class

Constructors

ScannerInfo({required String scannerId, required String name, required String manufacturer, required String model, required String deviceUuid, required ConnectionType connectionType, required bool secure, required List<String> imageFormats})
ScannerInfo.fromJS(ScannerInfo _wrapped)

Properties

connectionType ↔ ConnectionType
How the scanner is connected to the computer.
getter/setter pair
deviceUuid ↔ String
For matching against other ScannerInfo entries that point to the same physical device.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
imageFormats ↔ List<String>
MIME types that can be requested for returned scans.
getter/setter pair
manufacturer ↔ String
Scanner manufacturer.
getter/setter pair
model ↔ String
Scanner model if available, or a generic description.
getter/setter pair
name ↔ String
Printable name for displaying in the UI.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scannerId ↔ String
For connecting with openScanner.
getter/setter pair
secure ↔ bool
If true, the scanner connection's transport cannot be intercepted by a passive listener, such as TLS or USB.
getter/setter pair
toJS → ScannerInfo
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