toJson method
Converts this configuration to a JSON map.
Implementation
Map<String, dynamic> toJson() => {
'enabled': enabled,
'defaultMaxDepth': defaultMaxDepth,
'defaultMaxBlocks': defaultMaxBlocks,
'defaultMaxBytes': defaultMaxBytes,
'maxServeDepth': maxServeDepth,
'maxServeBlocks': maxServeBlocks,
'maxServeBytes': maxServeBytes,
'fallBackToBitswap': fallBackToBitswap,
};