changeState<T extends ControllerState> method
Null safety
- T v
Implementation
@protected
T changeState<T extends ControllerState>(T v) {
controller.state = v;
return v;
}
@protected
T changeState<T extends ControllerState>(T v) {
controller.state = v;
return v;
}