length property

int length
override

Content length of this node's children. To get number of children in this node use childCount.

Implementation

@override
int get length => _children.fold(0, (current, node) => current + node.length);