detach method
Removes this node from its parent, or from the parent it is on its way to.
Implementation
bool detach() => (parent ?? _pendingParent)?.remove(this) ?? false;
Removes this node from its parent, or from the parent it is on its way to.
bool detach() => (parent ?? _pendingParent)?.remove(this) ?? false;