toJson method

Map<String, dynamic> toJson()

Converts this configuration to a JSON map.

Implementation

Map<String, dynamic> toJson() => {
  'baseDir': baseDir,
  'maxStorageSize': maxStorageSize,
  'blocksDir': blocksDir,
  'datastoreDir': datastoreDir,
  'keysDir': keysDir,
  'enableGC': enableGC,
  'gcIntervalSeconds': gcInterval.inSeconds,
  'maxBlockSize': maxBlockSize,
};