remove method

void remove(
  1. Line? node
)
inherited

Removes node from this container.

Implementation

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