toJson method

Map<String, dynamic> toJson()

Converts this configuration to a JSON map.

Implementation

Map<String, dynamic> toJson() => {
  'enabled': enabled,
  'port': port,
  'address': address,
  'writable': writable,
  'enableCache': enableCache,
  'cacheSize': cacheSize,
};