UsbModule class

Constructors

UsbModule()

Properties

eventStream Stream
Stream of USB events (device attached, detached, data received)
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeDevice(String deviceId) Future<void>
Close connection to a specific device.
getConnectedDevices() Future<List<Map<String, dynamic>>>
Get list of connected USB devices.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openDevice(String deviceId) Future<void>
Open a connection to a specific device.
toString() String
A string representation of this object.
inherited

Operators

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