SessionEvent class sealed

Base class for all session events.

Implementers

Constructors

SessionEvent.fromJson(Map<String, dynamic> json)
Deserialize from JSON, dispatching on the 'type' field.
factory

Properties

ephemeral bool
Whether this event is ephemeral (not persisted in session history).
final
hashCode int
The hash code for this object.
no setterinherited
id String
Unique event ID.
final
parentId String?
Parent event ID (for nested events like tool execution under a turn).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp String
ISO-8601 timestamp.
final
type String
Event type discriminator.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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