rootScope property

ZenScope get rootScope

Implementation

static ZenScope get rootScope {
  if (_rootScope == null || _rootScope!.isDisposed) {
    _rootScope = ZenScope(name: 'RootScope');
    if (ZenConfig.enableDebugLogs) {
      ZenLogger.logDebug('🌱 Created root scope: ${_rootScope!.id}');
    }
  }
  return _rootScope!;
}