setState method
void
setState(
- TState state
This calls the setState() function and updates the state in the setState() callback
Implementation
void setState(TState state) {
assert(_setState != null, 'You must call attach');
//This is so we can hook up a stream or any other reactive listener
onSetState(_state);
_setState!(() {
_state = state;
});
}