DVUsbDevice class

A device on the bus.

Constructors

DVUsbDevice({required String path, required int vendorId, required int productId, String? manufacturer, String? product, String? serial, int? bus, int? address})
const

Properties

address → int?
final
bus → int?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
1d6b:0002, the way lsusb prints it and the way a datasheet quotes it.
no setter
manufacturer → String?
What the device says about itself, when it says anything. A hub or a cheap adapter often says nothing.
final
path → String
The kernel's name for it: 1-1, usb2, 3-1.4.
final
product → String?
final
productId → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serial → String?
final
vendorId → int
The USB vendor and product ids, as the numbers everyone quotes them by.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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