UsbDevice class

Inheritance

Constructors

UsbDevice(Api _api, {required int vendorId, required int productId, required String serialNumber, required String productName, required int? usagePage, required int? usage})

Properties

hashCode → int
The hash code for this object.
no setterinherited
isOpen ↔ bool
getter/setter pair
productId ↔ int
getter/setter pairinherited
productName ↔ String
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serialNumber ↔ String
getter/setter pairinherited
usage ↔ int?
getter/setter pairinherited
usagePage ↔ int?
getter/setter pairinherited
vendorId ↔ int
getter/setter pairinherited

Methods

close() → Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open() → Future<bool>
override
read(int length, int duration) → Stream<Uint8List>
override
toString() → String
A string representation of this object.
inherited
write(Uint8List bytes) → Future<void>
override

Operators

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