ReaderDevice constructor
const
ReaderDevice({
- required String id,
- String? name,
- String? serialNumber,
- String? model,
- String? modelName,
- String? firmwareVersion,
- int? batteryPercent,
- bool? isCharging,
- int? rssi,
- ReaderConnectionType connectionType = ReaderConnectionType.unknown,
- ReaderVendor vendor = ReaderVendor.unknown,
- ReaderTransport? transport,
- ReaderCapability? capabilities,
- ReaderProfile? profile,
- String? driverId,
Implementation
const ReaderDevice({
required this.id,
this.name,
this.serialNumber,
this.model,
this.modelName,
this.firmwareVersion,
this.batteryPercent,
this.isCharging,
this.rssi,
this.connectionType = ReaderConnectionType.unknown,
this.vendor = ReaderVendor.unknown,
this.transport,
this.capabilities,
this.profile,
this.driverId,
});