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, required String protocolType})
ScannerInfo.fromJS(ScannerInfo _wrapped)

Properties

connectionType ↔ ConnectionType
Indicates 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>
An array of MIME types that can be requested for returned scans.
getter/setter pair
manufacturer ↔ String
The scanner manufacturer.
getter/setter pair
model ↔ String
The scanner model if it is available, or a generic description.
getter/setter pair
name ↔ String
A human-readable name for the scanner to display in the UI.
getter/setter pair
protocolType ↔ String
A human-readable description of the protocol or driver used to access the scanner, such as Mopria, WSD, or epsonds. This is primarily useful for allowing a user to choose between protocols if a device supports multiple protocols.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scannerId ↔ String
The ID of a specific scanner.
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