child<T> method
Implementation
KokoroStore<T> child<T>(T Function(S) map) {
return KokoroStore(map(_initialState),
(a, _) => map(_reduce(a, currentState)), this, (it) => map(it as S));
}
KokoroStore<T> child<T>(T Function(S) map) {
return KokoroStore(map(_initialState),
(a, _) => map(_reduce(a, currentState)), this, (it) => map(it as S));
}