IViewModel<S> constructor

  1. @mustCallSuper
IViewModel<S>()

Implementation

@mustCallSuper
IViewModel() {
  state = initState;
  _streamController = BehaviorSubject<S>();
  _stream = _streamController.stream;
}