swapXY method Null safety

void swapXY()

Implementation

void swapXY() {
  Value t = _stack[0];
  _stack[0] = _stack[1];
  _stack[1] = t;
  display.window = 0;
  _needsSave = true;
}