hasSubcategories property
Returns true if the category has subcategories.
Implementation
bool get hasSubcategories => subcategories.isNotEmpty;
Returns true if the category has subcategories.
bool get hasSubcategories => subcategories.isNotEmpty;