copyWith method

Accumulator<S> copyWith(
  1. S newState
)

Implementation

Accumulator<S> copyWith(S newState) => Accumulator<S>(this.action, newState);