toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    "mapID": mapID,
    "token": token,
    "environment": environment.name,
    "locationSource": locationSource.name,
    "offline": offlineMode,
    "offlineZipFile": offlineZipFileName,
    "useJPGImageForVPS": useJPGImageForVPS,
    "jpgImageCompressionQuality": jpgImageCompressionQuality,
    "convertVPSImagesToGrayScale": convertVPSImagesToGrayScale,
    "durationSeconds": conveyingDetectorDuration,
    "elevatorBufferRadius": elevatorBufferRadius,
    "linearConveyingBufferOffset": linearConveyingBufferOffset,
    "visualDebuggerConfig": visualDebuggerConfig.toMap(),
  };
}