getEntry<T> static method

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

Retrieves the raw QueryCacheEntry for key, returning null if missing or expired.

Implementation

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