appendChild method
Reparent child to this node.
Implementation
void appendChild(Node child) {
// update this node
_children.add(child);
// update child
child.parent = this;
}
Reparent child to this node.
void appendChild(Node child) {
// update this node
_children.add(child);
// update child
child.parent = this;
}