resetCurrentScope static method

void resetCurrentScope()

Reset current scope to root (useful for cleanup)

Implementation

static void resetCurrentScope() {
  _currentScope = null;
  if (ZenConfig.enableDebugLogs) {
    ZenLogger.logDebug('🔧 Zen.currentScope reset to root');
  }
}