hasChildren property
bool
get
hasChildren
Whether this node has any children
Implementation
bool get hasChildren => children.isNotEmpty;
Whether this node has any children
bool get hasChildren => children.isNotEmpty;