dropChild method
- @protected
- @mustCallSuper
@mustCallSuper, @protected
Disconnect the given node from this node.
Subclasses should call this function when they lose a child.
Implementation
@protected
@mustCallSuper
void dropChild(covariant AbstractNode child) {
assert(child != null);
assert(child._parent == this);
assert(child.attached == attached);
child._parent = null;
if (attached)
child.detach();
}