refetch method

Future<void> refetch()

Re-fetches everything this scope selected during its last run.

Implementation

Future<void> refetch() {
  _error = null;
  _errorAt = null;
  _errorIsBackground = false;
  _awaiting = true;
  _backgroundFetch = !_hadMiss;
  client._enqueue(_root, force: true);
  client._schedule(this);
  return whenSettled;
}