lookupDeviceClass static method

PciDeviceClass? lookupDeviceClass(
  1. int id
)

Looks up a PCI device class by the id.

Returns null if not found.

Implementation

static PciDeviceClass? lookupDeviceClass(int id) {
  return _device_classes[id];
}