remove method

void remove(
  1. T node
)

Removes node from this container.

Implementation

void remove(T node) {
  assert(node?.parent == this);
  node?.parent = null;
  _children.remove(node as Node);
}