remove method
Removes and destroys query when it is the cached instance.
Implementation
void remove(Query<dynamic> query) {
if (identical(_queries[query.key.canonical], query)) {
query.destroy();
_queries.remove(query.key.canonical);
notify(QueryCacheEvent(QueryCacheEventType.removed, query));
}
}