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);
}