SubagentHandle constructor

SubagentHandle({
  1. required String id,
  2. required String name,
  3. required String agentType,
  4. required String sessionId,
  5. required String createdAt,
  6. String task = '',
  7. String context = '',
})

Implementation

SubagentHandle({
  required this.id,
  required this.name,
  required this.agentType,
  required this.sessionId,
  required this.createdAt,
  this.task = '',
  this.context = '',
}) : status = SubagentStatus.queued,
     lastActivity = createdAt,
     tokens = 0,
     requests = 0;