findFirstNode method

CNode? findFirstNode(
  1. CNode parent
)

Implementation

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