Store( InitialStateProvider initialStateProvider)

get initialState & init history$ stream

Source

Store(this.initialStateProvider) {
  state = initialStateProvider().initial() as T;
  history$ = _historyController.stream;
  _initStateHandler();
}