toJson method

Json toJson()

Serializes these settings to JSON.

Implementation

Json toJson() => {
  "presets" : presets,
  "splitMode": splitMode.index,
  "mapBlockSize": mapBlockSize,
  "maxFps": maxFps,
  "theme": themeMode.name,
  "splitCameras": splitCameras,
  "preferTankControls": preferTankControls,
  "versionChecking": versionChecking,
};