remove method

void remove(
  1. String queryKey
)

Removes the controller associated with the given queryKey from the cache and disposes it.

Implementation

void remove(String queryKey) {
  _queries[queryKey]?.dispose();
  _queries.remove(queryKey);
}