SDKEvent class abstract

Base protocol for all SDK events.

Mirrors iOS SDKEvent protocol from RunAnywhere SDK. Every event in the SDK should extend this class. The destination property tells the router where to send the event:

Usage:

EventPublisher.shared.track(LLMEvent.generationCompleted(...));
Implementers

Constructors

SDKEvent()

Properties

category EventCategory
Category for filtering/routing
no setter
destination EventDestination
Where to route this event
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier for this event instance
no setter
properties Map<String, String>
Event properties as key-value pairs (for analytics serialization)
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String?
Optional session ID for grouping related events
no setter
timestamp DateTime
When the event occurred
no setter
type String
Event type string (used for analytics categorization)
no setter

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