hasChildren property

bool get hasChildren

Whether this item contains children.

Implementation

bool get hasChildren => children.isNotEmpty;