getValueFromState abstract method

Object? getValueFromState(
  1. St state
)

Using the given state, you should return the value from that state.

Object? getValueFromState(state) => state.todoList.add(newTodo);

Implementation

Object? getValueFromState(St state);