UsbId class

A repository of all known ID's used in USB devices: ID's of vendors, devices, subsystems and device classes. This package can be utilized to display human-readable names instead of cryptic numeric codes.

Constructors

UsbId()

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

allDeviceClasses Iterable<UsbDeviceClass>
Holds a collection all USB device classes.
no setter
allVendors Iterable<UsbVendor>
Holds a collection of all USB vendors.
no setter

Static Methods

lookupDevice(int id, {required int vendorId}) UsbDevice?
Looks up a USB device by the id and vendorId.
lookupDeviceClass(int id) UsbDeviceClass?
Looks up a USB device class by the id.
lookupSubclass(int id, {required int deviceClassId}) UsbSubclass?
Looks up a USB subclass by the id and deviceClassId.
lookupVendor(int id) UsbVendor?
Looks up a USB vendor by the id.