SubagentMessage class final

One inter-agent message (Phase 3b agent_message / reply payloads).

Constructors

SubagentMessage({required String fromId, required String text, required String sentAt, int hops = 0, bool isUserInput = false})
const
SubagentMessage.fromJson(Map<String, dynamic> json)
factory

Properties

fromId → String
Sender id (parent for parent-originated messages).
final
hashCode → int
The hash code for this object.
no setterinherited
hops → int
Remaining hop budget (sibling-relay cap; 0 refuses further relaying).
final
isUserInput → bool
True when the message is user input forwarded by an attached client (the Fa app's attach view) — the recipient delivers it as the user's own words, not agent chat.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sentAt → String
ISO 8601 send timestamp.
final
text → String
Message body.
final

Methods

decayed() → SubagentMessage
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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