ReaderDevice constructor

const ReaderDevice({
  1. required String id,
  2. String? name,
  3. String? serialNumber,
  4. String? model,
  5. String? modelName,
  6. String? firmwareVersion,
  7. int? batteryPercent,
  8. bool? isCharging,
  9. int? rssi,
  10. ReaderConnectionType connectionType = ReaderConnectionType.unknown,
  11. ReaderVendor vendor = ReaderVendor.unknown,
  12. ReaderTransport? transport,
  13. ReaderCapability? capabilities,
  14. ReaderProfile? profile,
  15. 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,
});