TrajectoryRequestMessageBlock class final

One parsed content block of an outbound request message (F3): block structure with a generous bounded full text and [image WxH] markers.

Constructors

TrajectoryRequestMessageBlock({required String type, required int chars, required String text, bool truncated = false, String? imageMarker, String? callId, String? toolName})
Creates a request message block.
const
TrajectoryRequestMessageBlock.fromJson(Map<String, dynamic> json)
Deserializes from a JSON map produced by toJson.
factory

Properties

callId → String?
Tool call id for toolCall blocks.
final
chars → int
Original payload size in characters.
final
hashCode → int
The hash code for this object.
no setterinherited
imageMarker → String?
[image WxH] marker for image blocks (dimensions decoded from the payload header when possible, ?x? otherwise).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
Bounded full text (requestBlockChars); empty for images.
final
toolName → String?
Tool name for toolCall blocks.
final
truncated → bool
Whether text was cut at the bound.
final
type → String
Block type discriminator (text, thinking, toolCall, image).
final

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