ScenarioId class final
A stable governed scenario identifier.
JSON artifacts continue to encode this value as its value string. Use ScenarioId.parse at untyped boundaries so non-scenario candidates cannot accidentally satisfy scenario-selection evidence.
- Implemented types
Constructors
- ScenarioId(String value)
-
const
- ScenarioId.parse(String value)
-
Validates an ID read from an untyped boundary.
factory
Properties
Methods
-
compareTo(
ScenarioId other) → int -
Compares this object to another object.
override
-
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.
override
Static Methods
-
tryParse(
String value) → ScenarioId?