hasChildren property

bool get hasChildren

Has at least one child right now.

Implementation

bool get hasChildren => children.isNotEmpty;