getEntry<T> method

QueryCacheEntry<T>? getEntry<T>(
  1. List key
)

Retrieves the raw QueryCacheEntry for key from this scope.

Implementation

QueryCacheEntry<T>? getEntry<T>(List<dynamic> key) {
  _assertAlive();
  final entry = _cache[BloomData.normalizeKey(key)];
  if (entry != null && !entry.isExpired) return entry as QueryCacheEntry<T>?;
  return null;
}