state property
AgentState
get
state
Returns the current state of this agent as an immutable snapshot.
Implementation
AgentState get state => AgentState(
id: id,
role: role,
status: status,
currentTaskId: currentTaskId,
lastActivity: lastActivity,
);