CNode? findFirstNode(CNode parent) { if (parent.children == null) { return null; } return parent.children![0]; }