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).

Implementers

Properties

criteria → Object?
The question's criteria block (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 type discriminator.
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