GenerationCompleted class final
Decoding finished; carries the aggregate result and metrics. Terminal — no event follows.
- Inheritance
-
- Object
- GenerationEvent
- GenerationCompleted
Constructors
- GenerationCompleted(GenerationResult result, {String? requestId})
-
Carry the terminal result.
requestIddefaults toresult.requestIdwhen 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