childrenCount property

int childrenCount

The number of children this node has.

Implementation

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