add method

void add(
  1. Line? node
)
inherited

Adds node to the end of this container children list.

Implementation

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