resetAll method Null safety
Implementation
void resetAll() {
reset();
state.abort();
state = Resting(this);
model.displayDisabled = false;
model.display.displayX();
}
void resetAll() {
reset();
state.abort();
state = Resting(this);
model.displayDisabled = false;
model.display.displayX();
}