childrenCount property

int get childrenCount

The number of children this node has.

Implementation

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