handleOnOff method Null safety

void handleOnOff()

Implementation

void handleOnOff();