getStats method

Map<String, dynamic> getStats()

Get cache statistics

Implementation

Map<String, dynamic> getStats() {
  return {
    'memory': memoryCache.getStats(),
    'disk': diskCache != null ? {'enabled': true} : {'enabled': false},
  };
}