handleOnOff method Null safety

  1. @override
void handleOnOff()
override

Implementation

@override
void handleOnOff() {
  model.onIsPressed.value = true;
  model.resetErrorBlink();
  model.display.current = '0ff?   ';
  model.display.update();
  stackLiftEnabled = true;
  changeState(OnOffKeyPressed(controller));
}