toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
  'deviceType': deviceType.name,
  'terminalId': terminalId,
  'terminalType': terminalType.name,
  'identifier': identifier,
  'contactlessAllowed': contactlessAllowed,
  'keyedEntryAllowed': keyedEntryAllowed,
  'heartbeatEnabled': heartbeatEnabled,
  'barcodeReaderEnabled': barcodeReaderEnabled,
  'sleepTimeoutSeconds': sleepTimeoutSeconds,
};