refresh method

  1. @protected
void refresh()

Broadcasts the same state

This method can be used to refresh the UI, without setting a new state.

Implementation

@protected
void refresh() {
  _stream?.add(_state);
}