Store constructor
Implementation
Store(List<BaseState> states) {
_dispatcher = BehaviorSubject<Action>.seeded(_action);
_store =
BehaviorSubject<Map<String, dynamic>>.seeded(Map<String, dynamic>());
_actions = Actions(_dispatcher);
_states = states;
_subs = Map<String, StreamSubscription<Action>>();
_effSub = EffectSubscription(_dispatcher);
_dispatcherSubscription = _dispatcher.listen((action) {
_combineStates(_store.value, action);
});
}