hasSubItems property

bool get hasSubItems

Implementation

bool get hasSubItems => subItems != null && subItems!.isNotEmpty;