watchState method

AsyncState watchState()

Watches and returns the current async state reactively.

Implementation

AsyncState watchState() {
  throwIfDisposed('watch state');
  return _state.watch();
}