reducer property

State Function(State state, Action action) reducer
final

A Reducer function that only accepts an action of a specific type

Implementation

final State Function(State state, Action action) reducer;