SubagentStartedEvent constructor

const SubagentStartedEvent({
  1. required String id,
  2. required String timestamp,
  3. String? parentId,
  4. bool ephemeral = false,
  5. required String toolCallId,
  6. required String agentName,
  7. required String agentDisplayName,
  8. required String agentDescription,
})

Implementation

const SubagentStartedEvent({
  required super.id,
  required super.timestamp,
  super.parentId,
  super.ephemeral,
  required this.toolCallId,
  required this.agentName,
  required this.agentDisplayName,
  required this.agentDescription,
}) : super(type: 'subagent.started');