OpenUSBDevice class

Constructors

OpenUSBDevice(SendPort commandPort, USBDeviceInfo deviceInfo)

Properties

commandPort SendPort
final
deviceInfo USBDeviceInfo
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Closes the hid device
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readReport(int? timeoutMillis) Future<Uint8List>
Read an Input report from a HID device.
toString() String
A string representation of this object.
inherited
writeReport(Uint8List buffer) Future<void>
Write an Output report to a HID device.

Operators

operator ==(Object other) bool
The equality operator.
inherited