child<T> method

KokoroStore<T> child<T>(
  1. T map(
    1. S
    )
)

Implementation

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