Store(List<State> initialValues) : _states = {for (var v in initialValues) v.runtimeType: v} { _streamController.stream.listen(_onEvent); }