restarting method Null safety
- void singleStepOnDone( )?
Implementation
void restarting(void Function(CalculatorError?)? singleStepOnDone) {
_singleStepOnDone = singleStepOnDone;
model.program.suspendedProgram = null;
model.displayDisabled = true;
_stopNext = singleStepOnDone != null;
}