hasSubcategories property
bool
get
hasSubcategories
True when this category contains one or more subcategories.
Implementation
bool get hasSubcategories => subcategories.isNotEmpty;
True when this category contains one or more subcategories.
bool get hasSubcategories => subcategories.isNotEmpty;