hasSubmenu property

bool get hasSubmenu

Implementation

bool get hasSubmenu => menu.itemGroups.isNotEmpty;