getStat method
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 namekey: The cache key
Implementation
@override
Future<CacheStat?> getStat(String name, String key) {
return Future.value(_cacheStore(name)[key]);
}