toJson method
Converts this configuration to a JSON map.
Implementation
Map<String, dynamic> toJson() => {
'maxConcurrentRequests': maxConcurrentRequests,
'httpFallbackGateways': httpFallbackGateways,
'p2pTimeoutSeconds': p2pTimeout.inSeconds,
'httpTimeoutSeconds': httpTimeout.inSeconds,
'enableHttpFallback': enableHttpFallback,
'maxHttpBlockSize': maxHttpBlockSize,
'allowPrivateGateways': allowPrivateGateways,
};