applyState abstract method
Using the given state
, you should apply the given value
to it, and return the result.
St applyState(state) => state.copy(todoList: newTodoList);
Implementation
St applyState(Object? value, St state);
Using the given state
, you should apply the given value
to it, and return the result.
St applyState(state) => state.copy(todoList: newTodoList);
St applyState(Object? value, St state);