registerContext method
void
registerContext(
- ContextRoot ctx
Implementation
void registerContext(ContextRoot ctx) {
final path = ctx.root.path;
if (_pathToContextMap.containsKey(path)) return;
if (_pendingRootPaths.contains(path)) return;
_pendingRootPaths.add(path);
unawaited(_registerContext(ctx));
}