AttachedMessage class final

One rendered transcript row of an attached session: enough for a client to render 1:1 what the owning process (the CLI) shows.

Constructors

AttachedMessage({required AttachedMessageRole role, required String text, String? toolName})
Creates the row.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
role → AttachedMessageRole
Who produced the row.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
The user/assistant text (empty for tool-only rows).
final
toolName → String?
The tool name for tool rows, else null.
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