StructuredTaskOutput class final
Parsed structured completion plus its validation metadata (omp's
StructuredSubagentOutput, reduced: no source/mode — v1 schemas always
come from the call item).
Constructors
- StructuredTaskOutput({required StructuredValidationStatus status, Object? data, String? error})
-
Creates a StructuredTaskOutput.
const
Properties
- data → Object?
-
The parsed JSON document when one could be extracted (present for both
StructuredValidationStatus.valid and
.invalid, like omp).final - error → String?
-
Why validation failed or was unavailable.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → StructuredValidationStatus
-
Validation outcome.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited