rootContext top-level property

Context rootContext

Implementation

Context get rootContext => _rootContext ??= Context(Config());
void rootContext=(Context context)

Implementation

set rootContext(Context context) {
  if (_rootContext != null) {
    throw StateError('Root context already initialized');
  }
  _rootContext = context;
}