putEntry<T> static method

void putEntry<T>(
  1. QueryCacheEntry<T> entry
)

Directly inserts or overwrites a QueryCacheEntry in the cache.

Implementation

static void putEntry<T>(QueryCacheEntry<T> entry) {
  _cache[normalizeKey(entry.key)] = entry;
}