CCTCategory class
One ratified category in the taxonomy.
DISPLAY_NAME, SUMMARY and SLUG are required: a category cannot be published without the label a surface will render, the sentence a browse row will show, and the route a link will target. This is what stops each consumer from inventing its own wording for the same code.
Constructors
-
CCTCategory(List<
int> bytes) -
factory
Properties
- CODE → capabilityClass
-
The ratified category code. This is the join key every consumer uses.
no setter
- DESCRIPTION → String?
-
Longer editorial description for a category landing page.
no setter
- DISPLAY_NAME → String?
-
Canonical human-readable label, rendered verbatim. MUST equal the display
name stated in the CODE member's doc comment.
no setter
- displayName → String?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- ICON_KEY → String?
-
Key of a self-hosted icon or capsule asset for this category. A KEY, not a
URL: consuming node surfaces load zero external-origin bytes, so the
consumer resolves this against its own local asset set.
no setter
- iconKey → String?
-
no setter
-
KEYWORDS
→ List<
String> ? -
Search synonyms and alternate phrasings that resolve to this category.
Feeds type-ahead; never rendered as the category label.
no setter
- PARENT → capabilityClass
-
Parent category for hierarchical browse. UNSPECIFIED means this is a
top-level category. A category MUST NOT name itself as its parent.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- SLUG → String?
-
Route-safe identifier: the CODE identifier lowercased with
_replaced by-. Published explicitly rather than derived so every surface routes identically.no setter - SORT_ORDER → int
-
Presentation order within its parent, ascending. Ties break on
DISPLAY_NAME.
no setter
- sortOrder → int
-
no setter
- SUMMARY → String?
-
One-sentence description shown on browse rows and category headers.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
reader
→ const Reader<
CCTCategory>