clear method

void clear()

Clear the cached value. Calling value or getOrFetch will cause the provider to be run again. Calls which are already in progress and not finished will NOT be cancelled and still receive the value when they complete

Implementation

void clear() {
  _currentCompleter = null;
  _lastFetch = null;
  ++_generationCount;
}