TrajectoryRequestMessageSummary class final

One outbound request message, summarized for the details panel.

Constructors

TrajectoryRequestMessageSummary({required String role, required int chars, required String preview, List<TrajectoryRequestMessageBlock> blocks = const []})
Creates a TrajectoryRequestMessageSummary.
const
TrajectoryRequestMessageSummary.fromJson(Map<String, dynamic> json)
Deserializes from a JSON map produced by toJson.
factory

Properties

blocks List<TrajectoryRequestMessageBlock>
Block structure in model order with bounded full texts and image markers (F3). Empty when not captured (old sessions, E6).
final
chars int
JSON-serialized length of the message payload.
final
hashCode int
The hash code for this object.
no setterinherited
preview String
Bounded text preview of the message content.
final
role String
Role discriminator (user, assistant, toolResult).
final
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
toJson() Map<String, dynamic>
Serializes to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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