hasChildren property

bool hasChildren

Implementation

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