Device constructor
Device({})
Implementation
Device({
/// An opaque ID for the USB device. It remains unchanged until the device
/// is
/// unplugged.
required int device,
/// The device vendor ID.
required int vendorId,
/// The product ID.
required int productId,
/// The device version (bcdDevice field).
required int version,
/// The iProduct string read from the device, if available.
required String productName,
/// The iManufacturer string read from the device, if available.
required String manufacturerName,
/// The iSerialNumber string read from the device, if available.
required String serialNumber,
}) : _wrapped = $js.Device(
device: device,
vendorId: vendorId,
productId: productId,
version: version,
productName: productName,
manufacturerName: manufacturerName,
serialNumber: serialNumber,
);