Running constructor Null safety

Running(
  1. RealController c,
  2. ProgramRunner _runner
)

Implementation

Running(RealController c, this._runner)
    : _fake = RunningController(c),
      _stopNext = false,
      super(c) {
  final p = c.model.program;
  assert(p.returnStackPos <= 0);
  p.suspendedProgram?.abort();
  p.suspendedProgram = null;
}