remove method

void remove(
  1. String key
)

Removes a variable from the current scope.

This method removes a variable definition from the current scope only. It does not affect variables in parent or child scopes.

Parameters:

  • key: The variable name to remove from this scope

Note: This method silently does nothing if the key doesn't exist in the current scope.

Implementation

void remove(String key) {
  _table.remove(key);
}