removeQuery method
Remove query from cache
Implementation
void removeQuery(Object queryKey) {
final normalizedKey = QueryKey.normalize(queryKey);
_cache[normalizedKey]?.expiryTimer?.cancel();
_cache.remove(normalizedKey);
_queries.remove(normalizedKey);
_streamQueries.remove(normalizedKey);
_pendingFetches.remove(normalizedKey);
_unindexTags(normalizedKey);
_scopeQueries.forEach((_, keys) => keys.remove(normalizedKey));
_scopeQueries.removeWhere((_, keys) => keys.isEmpty);
_scopeStreamQueries.forEach((_, keys) => keys.remove(normalizedKey));
_scopeStreamQueries.removeWhere((_, keys) => keys.isEmpty);
}