resetDefaultState method

  1. @override
void resetDefaultState([
  1. VoidCallback? fn
])
override

Implementation

@override
void resetDefaultState([VoidCallback? fn]) {
  super.resetDefaultState(fn);
  _repo = null;
  _auth = null;
  _isInitialized = true;
  onAuthStreamSubscription?.cancel();
  onAuthStreamSubscription = null;
}