updateUI method

void updateUI()

update current page without any network call Use this method as you would use setState((){}) of a stateful widget

Implementation

void updateUI() {
  if (_dataSubject.hasValue) {
    clearSelection();
    _dataSubject.add(_dataSubject.value);
  }
}