handleOnOff method Null safety

  1. @override
void handleOnOff()
override

Implementation

@override
void handleOnOff() => changeState(Resting(controller)).handleOnOff();