addChild method
Adds the given RenderObjectData as a child
of this RenderObjectData.
Implementation
void addChild(RenderObjectData child) {
assert(child.parent == null);
assert(!children.contains(child));
child._parent = this;
children.add(child);
}