VocabularyNarrowingConfig class
Per-mission-type vocabulary configurations. Production apps declare these via configuration, not code (spec Assumptions).
Each config maps a mission type (e.g. listing, chat, dashboard) to a
narrowed UiVocabularySchema. Nodes / tokens not in the narrowed schema
are rejected at render time (FR-005 acceptance 2).
Constructors
-
VocabularyNarrowingConfig(Map<
String, UiVocabularySchema> byMissionType) -
const
Properties
-
byMissionType
→ Map<
String, UiVocabularySchema> -
Mission type → narrowed schema.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
hasNarrowingFor(
String? missionType) → bool - Whether the given mission type has a narrowed vocabulary.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
String? missionType) → UiVocabularySchema - Resolve the schema for a given mission type, falling back to the base schema when no narrowing is declared.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- empty → const VocabularyNarrowingConfig
- Empty config — every mission uses the base schema.