hasSubMenu property

bool get hasSubMenu

Implementation

bool get hasSubMenu => subMenu != null && subMenu!.isNotEmpty;