getStat method Null safety

Future<CacheStat?> getStat(
  1. String name,
  2. String key
)

Returns the CacheStat for the specified cache key. It provides an optimized retrieval strategy that avoids reading the CacheEntry implementation into memory

  • name: The cache name
  • key: The cache key

Implementation

Future<CacheStat?> getStat(String name, String key);