GenerationCompleted class final

Decoding finished; carries the aggregate result and metrics. Terminal — no event follows.

Inheritance

Constructors

GenerationCompleted(GenerationResult result, {String? requestId})
Carry the terminal result. requestId defaults to result.requestId when not given explicitly.

Properties

hashCode int
The hash code for this object.
no setterinherited
requestId String
Correlation id for the generation.
final
result GenerationResult
Full text, tool calls, and metrics.
final
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited