invalidateQueries method
Invalidates a query, causing it to be refetched.
Implementation
void invalidateQueries(String queryKey) {
final controller = cache.get(queryKey);
if (controller != null) {
controller.refetch();
}
}
Invalidates a query, causing it to be refetched.
void invalidateQueries(String queryKey) {
final controller = cache.get(queryKey);
if (controller != null) {
controller.refetch();
}
}