rootCount property

int get rootCount

The number of rootnodes in the tree.

Implementation

int get rootCount => rootNodes.length;