DecisionQuestion class sealed
One typed question about the state. The wire discriminator is
type: noul (yes/no probability — the Decisions API's official
discriminator per the OpenAPI spec; gh-1844 review), choice (pick
from a keyed criteria map), score (position on an ordered criteria
list).
Properties
- criteria → Object?
-
The question's
criteriablock (shape depends on type).no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- instructions → Object?
-
What the model is asked to decide (free-form instructions).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The wire
typediscriminator.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
The wire form:
{type, instructions, criteria?}. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited