liftStackIfEnabled method Null safety

void liftStackIfEnabled()

Implementation

void liftStackIfEnabled() {
  if (stackLiftEnabled) {
    model.pushStack();
    stackLiftEnabled = false;
  }
}