hasChildren property
bool
get
hasChildren
Has at least one child right now.
Implementation
bool get hasChildren => children.isNotEmpty;
Has at least one child right now.
bool get hasChildren => children.isNotEmpty;