TurnCompletedEvent class
Terminal event of a turn (see StreamChatAiAssistantResponse.turn_completed).
Constructors
- TurnCompletedEvent({String? finalSequenceNumber, String? reason, String? turnId})
- TurnCompletedEvent.fromJson(Map json_)
Properties
- finalSequenceNumber ↔ String?
-
Sequence number of the last event the turn produced.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason ↔ String?
-
Why the turn ended.
Possible string values are:
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- turnId ↔ String?
-
Identifier of the turn that ended; matches TurnResumeSnapshot.turn_id and
ActiveTurnInfo.turn_id.
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