hasChildren property

bool get hasChildren

Whether this node has children or not.

Implementation

bool get hasChildren => _children.isNotEmpty;