LiveInteractionCompletedEvent class
Server wire event signaling that a Live Interaction completed.
Constructors
-
LiveInteractionCompletedEvent({String eventType = 'interaction.completed', String? created, String? updated, Map<
String, dynamic> ? status, Map<String, dynamic> ? usage}) -
Creates a LiveInteractionCompletedEvent.
const
-
LiveInteractionCompletedEvent.fromJson(Map<
String, dynamic> json) -
Creates a LiveInteractionCompletedEvent from a JSON map.
factory
Properties
- created → String?
-
Optional ISO 8601 creation timestamp.
final
- eventType → String
-
Fixed wire event discriminator (
'interaction.completed').final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
status
→ Map<
String, dynamic> ? -
Optional RPC status payload describing terminal status or error details.
final
- updated → String?
-
Optional ISO 8601 last-update timestamp.
final
-
usage
→ Map<
String, dynamic> ? -
Optional token usage statistics payload.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes this LiveInteractionCompletedEvent to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited