add method
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);
clearLengthCache();
}
Adds node
to the end of this container children list.
void add(T node) {
assert(node?.parent == null);
node?.parent = this;
_children.add(node as Node);
clearLengthCache();
}