handleOnOff method Null safety

  1. @override
void handleOnOff()
override

Implementation

@override
void handleOnOff() {
  model.prgmFlag = false;
  changeState(Resting(controller)).handleOnOff();
}