toJson method

Map<String, dynamic> toJson()

Converts the config to JSON

Implementation

Map<String, dynamic> toJson() => {
  'protocolId': protocolId,
  'alpha': alpha,
  'bucketSize': bucketSize,
  'maxProvidersPerKey': maxProvidersPerKey,
  'requestTimeoutSeconds': requestTimeout.inSeconds,
  'maxRecordsPerQuery': maxRecordsPerQuery,
  'enableProviderRecording': enableProviderRecording,
  'enableValueStorage': enableValueStorage,
};