UsbDevice.fromIdentifier constructor

UsbDevice.fromIdentifier(
  1. String identifier
)

Implementation

factory UsbDevice.fromIdentifier(String identifier) {
  return UsbDevice(
    identifier: identifier,
    vendorId: 0,
    productId: 0,
    productName: '',
    deviceId: 0,
    deviceName: '',
    manufacturerName: '',
    configurationCount: 1,
  );
}