hasChildren property

bool hasChildren

Whether the item has children or not.

Implementation

bool get hasChildren => children.isNotEmpty;