AgentMessageDelta class final
A message_update event: a token or message delta.
- Inheritance
-
- Object
- AgentSessionEvent
- AgentMessageDelta
Constructors
- AgentMessageDelta({required AgentMessageRole role, required String text, required int turn})
-
Creates a message delta for
turn.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- role → AgentMessageRole
-
The role that produced the message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
The message text.
final
- turn → int
-
The zero-based turn this event belongs to.
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