StructuredOutputStreamResult<T> class

Result container for streaming structured output Matches iOS StructuredOutputStreamResult from Features/LLM/StructuredOutput/

Constructors

StructuredOutputStreamResult({required Stream<String> stream, required Future<T> result})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
result Future<T>
Future that resolves to the final parsed object
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<String>
Stream of individual tokens as they are generated
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