hasChildren property
bool
hasChildren
Whether the item has children or not.
Implementation
bool get hasChildren => children.isNotEmpty;
Whether the item has children or not.
bool get hasChildren => children.isNotEmpty;