nodeCount property

int get nodeCount

Implementation

int get nodeCount =>
    1 + children.fold<int>(0, (sum, child) => sum + child.nodeCount);