hasChildren property

bool get hasChildren

Whether or not this node has any children.

Implementation

bool get hasChildren => _children.isNotEmpty;