DecisionResult class sealed
The outcome of one Decisions call — NEVER thrown. Provider errors,
malformed responses, and local validation failures all land in
DecisionResult.failure; only programmer errors (null required
arguments) throw.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess → bool
-
True on DecisionSuccess.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - The structured JSON form surfaced to the model/user.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited