DeviceConfiguration constructor

const DeviceConfiguration({
  1. DeviceType deviceType = DeviceType.ingenicoMoby5500,
  2. String terminalId = '1234',
  3. TerminalType terminalType = TerminalType.mobile,
  4. DeviceConnectionType connectionType = DeviceConnectionType.bluetooth,
  5. String? identifier,
  6. bool contactlessAllowed = true,
  7. double? contactlessDetectionTimeSeconds,
  8. bool keyedEntryAllowed = true,
  9. bool heartbeatEnabled = true,
  10. bool barcodeReaderEnabled = true,
  11. int sleepTimeoutSeconds = 3600,
  12. int initializationDelaySeconds = 2,
})

Implementation

const DeviceConfiguration({
  this.deviceType = DeviceType.ingenicoMoby5500,
  this.terminalId = '1234',
  this.terminalType = TerminalType.mobile,
  this.connectionType = DeviceConnectionType.bluetooth,
  this.identifier,
  this.contactlessAllowed = true,
  this.contactlessDetectionTimeSeconds,
  this.keyedEntryAllowed = true,
  this.heartbeatEnabled = true,
  this.barcodeReaderEnabled = true,
  this.sleepTimeoutSeconds = 3600,
  this.initializationDelaySeconds = 2,
});