pushScope method

void pushScope()

Pushes a new scope onto the variable stack.

This creates a new empty scope that can be used to store variables. The new scope is added to the top of the variable stack, allowing variables to be accessed and modified within the current scope.

Implementation

void pushScope() {
  _variableStack.add({});
}