int childrenCount

The number of children this node has.

Source

int get childrenCount => hasChildren ? _children.length : 0;