SdkSystemEvent class final

Carrier for the long tail of type: 'system' events that are not init (e.g. compact_boundary, status, task_progress, rate_limit, …).

The subtype is exposed; the full payload remains in raw.

Inheritance

Constructors

SdkSystemEvent(Map<String, dynamic> raw)

Properties

hashCode int
The hash code for this object.
no setterinherited
raw Map<String, dynamic>
The full original wire JSON for this message.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String?
The session id the message belongs to (session_id).
no setterinherited
subtype String?
The system event subtype.
no setter
type String
The SDK type discriminator (assistant, user, result, …).
no setterinherited
uuid String?
The message's unique id (uuid).
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Reproduces the original wire JSON verbatim.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited