invalidate method
Invalidates (re-notifies subscribers of) the node identified by key.
If the key does not exist in this container, the invalidation request bubbles up to the parent container (if any).
Safe to call on a disposed container (no-op).
Implementation
void invalidate(NodeKey key) {
if (_isDisposed) {
return;
}
final node = _nodes[key];
if (node != null) {
node.invalidate();
return;
}
parent?.invalidate(key);
}