maybeNode<T> method
Returns the node for key if it exists in this container, or null.
Does not fall back to parent — use maybeReadKey for hierarchical lookup.
Implementation
ZenithNode<T>? maybeNode<T>(NodeKey key) {
if (_isDisposed) {
return null;
}
_assertCaptiveDependencyAllowed(key);
return _nodes[key] as ZenithNode<T>?;
}