buttonDown method Null safety
- Operation key
override
Implementation
@override
void buttonDown(Operation key) {
if (key == Operations.onOff) {
model.display.displayX();
changeState(Resting(controller));
}
}
@override
void buttonDown(Operation key) {
if (key == Operations.onOff) {
model.display.displayX();
changeState(Resting(controller));
}
}