popStack method Null safety

void popStack()

Implementation

void popStack() {
  _stack[0] = _stack[1];
  _stack[1] = _stack[2];
  _stack[2] = _stack[3];
  display.window = 0;
  _needsSave = true;
}