hasChildren property

bool hasChildren

Whether this node has a non-zero number of children.

Implementation

bool get hasChildren => _children?.isNotEmpty ?? false;