AISMessage class

One structured message in an AI conversation transcript.

Constructors

AISMessage(List<int> bytes)
factory

Properties

CONTENT → String?
UTF-8 message body text.
no setter
hashCode → int
The hash code for this object.
no setterinherited
ROLE → aisMessageRole
Participant role for this message.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
TIMESTAMP_UTC → String?
RFC 3339 UTC timestamp when the message was created.
no setter
timestampUtc → String?
no setter
TOOL_CALL_ID → String?
Correlating tool-call identifier when ROLE is TOOL or ASSISTANT.
no setter
TOOL_NAME → String?
Tool name when associated with a tool invocation.
no setter
toolCallId → String?
no setter
toolName → String?
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.
override

Operators

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

Constants

reader → const Reader<AISMessage>