refresh method

void refresh()

Re-subscribes to the stream, resetting state to loading.

Implementation

void refresh() {
  if (_disposed) return;
  mutate(() {
    _state = const AsyncLoading();
  }, label: 'loading');
  _subscribe();
}