reset method

void reset()

Resets state and clears the cache (on sign-out).

Implementation

void reset() {
  _cache.clear();
  state.value = const AsyncState.idle();
}