toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'isDefaultScanner': isDefaultScanner,
    'friendlyName': friendlyName,
    'modelNumber': modelNumber,
    'deviceType': deviceType?.value,
    'connectionType': connectionType?.value,
    'deviceIdentifier': deviceIdentifier?.value,
    'decoderType': decoderType?.value,
    'isConnected': isConnected,
  };
}