Updates value to newValue.
newValue
See: reactjs.org/docs/hooks-state.html#updating-state.
void set(T newValue) => _setValue(newValue);