ReasoningSummaryPartDoneEvent class
Event emitted when a reasoning summary part is complete.
- Inheritance
-
- Object
- ResponseStreamEvent
- ReasoningSummaryPartDoneEvent
- Available extensions
- Annotations
-
- @immutable
Constructors
-
ReasoningSummaryPartDoneEvent({required int outputIndex, required int summaryIndex, required Map<
String, dynamic> part, String? itemId, int? sequenceNumber}) -
Creates a ReasoningSummaryPartDoneEvent.
const
-
ReasoningSummaryPartDoneEvent.fromJson(Map<
String, dynamic> json) -
Creates a ReasoningSummaryPartDoneEvent from JSON.
factory
Properties
- finalResponse → Response?
-
Available on ResponseStreamEvent, provided by the ResponseStreamEventExtensions extension
Returns the final response if this is a completion event.no setter - hashCode → int
-
The hash code for this object.
no setteroverride
- isFinal → bool
-
Whether this event signals the end of the stream.
no setterinherited
- itemId → String?
-
The ID of the item containing this reasoning summary.
final
- outputIndex → int
-
The index of the output item.
final
-
part
→ Map<
String, dynamic> -
The summary part.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequenceNumber → int?
-
The sequence number for ordering events.
final
- summaryIndex → int
-
The index of the summary part.
final
- textDelta → String?
-
Available on ResponseStreamEvent, provided by the ResponseStreamEventExtensions extension
Returns the text delta if this is a text delta event.no setter - type → String
-
The type of the event.
no setteroverride
Methods
-
copyWith(
{int? outputIndex, int? summaryIndex, Map< String, dynamic> ? part, Object? itemId = unsetCopyWithValue, Object? sequenceNumber = unsetCopyWithValue}) → ReasoningSummaryPartDoneEvent - Creates a copy with replaced values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts to JSON.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override