TurnResumeSnapshot class
A compacted replay of an in-flight turn: everything needed to render the turn's visible output so far, plus the position live events continue from.
Constructors
-
TurnResumeSnapshot({List<
StreamChatAiAssistantResponse> ? events, String? orphanDeadlineTime, String? resolvedSequenceNumber, String? turnId}) - TurnResumeSnapshot.fromJson(Map json_)
Properties
-
events
↔ List<
StreamChatAiAssistantResponse> ? -
Compacted events reconstructing the turn's visible output, in render
order, using the same event shapes as live streaming.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- orphanDeadlineTime ↔ String?
-
When the turn will be wound down if no client remains attached.
getter/setter pair
- resolvedSequenceNumber ↔ String?
-
The position this snapshot represents.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- turnId ↔ String?
-
Identifies the turn being attached to.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited