hasChildren property

bool get hasChildren

Implementation

bool get hasChildren => children?.isNotEmpty ?? false;