USBPrinter constructor
USBPrinter({})
Implementation
USBPrinter({
String? id,
String? name,
String? address,
int? deviceId,
int? vendorId,
int? productId,
bool connected: false,
int type: 0,
ConnectionType? connectionType,
}) {
this.id = id;
this.name = name;
this.address = address;
this.deviceId = deviceId;
this.vendorId = vendorId;
this.productId = productId;
this.connected = connected;
this.type = type;
this.connectionType = ConnectionType.usb;
}