ScannerDevice class

Represents the hardware characteristics and state of the initialized fingerprint scanner.

Constructors

ScannerDevice({required bool found, required String message, required String? device, required String? type, required String? serialNumber, required String? model, required String? manufacturer, required String? product, required bool sessionOpen, required int scanWidth, required int scanHeight, required List<Map<String, Object?>> usbDevices, required Map<String, Object?> raw})
Constructor to initialize a ScannerDevice with all its hardware metadata.
const
ScannerDevice.fromMap(Map<String, Object?> map)
Factory constructor to parse and map raw JSON or Map responses from the native method channel.
factory

Properties

device → String?
The operating system's device identifier/path.
final
found → bool
Whether a supported scanner was successfully located on the USB host.
final
hashCode → int
The hash code for this object.
no setterinherited
manufacturer → String?
The manufacturer name of the connected scanner.
final
message → String
User-friendly initialization message or error description.
final
model → String?
The model name of the connected scanner.
final
product → String?
The product name of the connected scanner.
final
raw → Map<String, Object?>
The raw unparsed map from the native layer.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scanHeight → int
The standard scanning resolution height in pixels.
final
scanWidth → int
The standard scanning resolution width in pixels.
final
serialNumber → String?
The unique hardware serial number of the connected device.
final
sessionOpen → bool
Whether a live communication session has been opened with the scanner.
final
type → String?
The sensor/scanner technology type name (e.g. NB65200U).
final
usbDevices → List<Map<String, Object?>>
List of raw USB devices detected on the platform's USB host.
final

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