handleRunStop method Null safety

  1. @override
void handleRunStop()
override

Implementation

@override
void handleRunStop() {
  final program = model.memory.program;
  program.handleRunStopKepyress();
  if (program.currentLine == 0 && program.lines > 0) {
    program.currentLine = 1;
  }
  program.displayCurrent();
  changeState(Running(controller));
}