add method

void add(
  1. T node
)

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