UsbDevice class
UsbDevice holds the USB device information
This is used to determine which Usb Device to open.
Constructors
Properties
- deviceId → int?
-
The device id is unique to this Usb Device until it is unplugged.
when replugged this ID will be different.
final
- deviceName → String
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- interfaceCount → int?
-
The number of interfaces on this UsbPort
final
- manufacturerName → String?
-
final
- pid → int?
-
Product Id
final
- port → UsbPort?
-
no setter
- productName → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serial → String?
-
The Serial number from the USB device.
final
- vid → int?
-
Vendor Id
final
Methods
-
create(
[String type = "", int iface = -1]) → Future< UsbPort?> - Creates a UsbPort from the UsbDevice.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override