handleClearProgram method Null safety

  1. @override
void handleClearProgram()
override

Implementation

@override
void handleClearProgram() {
  stackLiftEnabled = true;
  final p = model.memory.program;
  p.currentLine = 0;
  p.suspendedProgram?.abort();
  p.suspendedProgram = null;
}