hasSubcategories property

bool get hasSubcategories

Returns true if the category has subcategories.

Implementation

bool get hasSubcategories => subcategories.isNotEmpty;