UsbSerial class

Constructors

UsbSerial()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

usbEventStream Stream<UsbEvent>?
no setter

Static Methods

createFromDeviceId(int? deviceId, [String? type, int? portNum]) Future<UsbPort?>
listDevices() Future<List<UsbDevice>>

Constants

CDC → const String
CDC hardware type. Used by create
CH34x → const String
CH34X hardware type. Used by create
CP21xx → const String
CP210x hardware type. Used by create
FTDI → const String
FTDI Hardware USB to Uart bridge. (Very common) Used by create