resetStore method
Resets the contents of the store with cache.store.reset()
and then refetches of all queries unless refetchQueries
is disabled
Implementation
@experimental
Future<List<QueryResult?>>? resetStore({bool refetchQueries = true}) {
cache.store.reset();
if (refetchQueries) {
return queryManager.refetchSafeQueries();
}
return null;
}