Device class

Constructors

Device({required int device, required int vendorId, required int productId, required int version, required String productName, required String manufacturerName, required String serialNumber})
Device.fromJS(Device _wrapped)

Properties

device ↔ int
An opaque ID for the USB device. It remains unchanged until the device is unplugged.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
manufacturerName ↔ String
The iManufacturer string read from the device, if available.
getter/setter pair
productId ↔ int
The product ID.
getter/setter pair
productName ↔ String
The iProduct string read from the device, if available.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serialNumber ↔ String
The iSerialNumber string read from the device, if available.
getter/setter pair
toJS → Device
no setter
vendorId ↔ int
The device vendor ID.
getter/setter pair
version ↔ int
The device version (bcdDevice field).
getter/setter pair

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