Device class abstract

Constructors

Device({required int vendorId, required int productId, required String serialNumber, required String productName, int? usagePage, int? usage})

Properties

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

Methods

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

Operators

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