AssistantMessageEvent class sealed

Event protocol for AssistantMessageEventStream.

Ported from pi's AssistantMessageEvent union. Providers emit StartEvent, then any sequence of text/thinking/tool-call start, delta, and end events, and terminate with exactly one DoneEvent or ErrorEvent.

Partial-first invariant: every event carries partial, the live snapshot of the AssistantMessage as of this event.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
partial → AssistantMessage
The live partial message as of this event.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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