onScopeCreate method

void onScopeCreate(
  1. int scopeId,
  2. String scopeName,
  3. int? parentScopeId
)

Called when a new scope is created.

  • scopeId: Unique identifier for the new scope.
  • scopeName: The name of the new scope.
  • parentScopeId: The ID of the parent scope, or null if root.

Implementation

void onScopeCreate(int scopeId, String scopeName, int? parentScopeId) {}