AgentChunk<State> class
final
A streamed chunk. Mirrors GenerateResponseChunk and adds the agent fields
(artifact, custom).
Properties
- accumulatedText → String
-
no setter
- artifact → Artifact?
-
no setter
- custom → State?
-
The full, post-patch custom state. Present only on chunks that carry a
custom-state update;
nullotherwise.no setter - data → Object?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- media → Media?
-
no setter
- raw → AgentStreamChunk
-
no setter
- reasoning → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
no setter
-
toolRequests
→ List<
ToolRequestPart> -
no setter
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