mutations method

  1. @mustCallSuper
dynamic mutations(
  1. StateContainerContext context
)

Implementation

@mustCallSuper
mutations(StateContainerContext context) {
  mutation<SetState<T>>((ctrl, value, arg) => ctrl.setState(arg.payload));
}