toJson method
Implementation
Map<String, dynamic> toJson() => {
'enabled': enabled,
'size': size,
'maxEntries': maxEntries,
'currentBytes': currentBytes,
'maxBytes': maxBytes,
'largestEntryBytes': largestEntryBytes,
'minPointCount': minPointCount,
'hits': hits,
'misses': misses,
'writes': writes,
'evictions': evictions,
'evictedBytes': evictedBytes,
'skippedWrites': skippedWrites,
'lookups': lookups,
'hitRate': hitRate,
'extraction': {
'enabled': extractionCacheEnabled,
'size': extractionSize,
'maxEntries': maxExtractionEntries,
'currentBytes': extractionCurrentBytes,
'maxBytes': maxExtractionBytes,
'largestEntryBytes': extractionLargestEntryBytes,
'minPointCount': minExtractionPointCount,
'hits': extractionHits,
'misses': extractionMisses,
'writes': extractionWrites,
'evictions': extractionEvictions,
'evictedBytes': extractionEvictedBytes,
'skippedWrites': extractionSkippedWrites,
'lookups': extractionLookups,
'hitRate': extractionHitRate,
},
};