void addChild(NodeV3 child, [int? position]) { if (position == null) { children.add(child); } else { children.insert(position, child); } }