AssistantMessageEvent constructor

const AssistantMessageEvent({
  1. required String id,
  2. required String timestamp,
  3. String? parentId,
  4. bool ephemeral = false,
  5. required String messageId,
  6. required String content,
  7. List? toolRequests,
  8. String? reasoningOpaque,
  9. String? reasoningText,
  10. String? encryptedContent,
  11. String? phase,
  12. String? parentToolCallId,
})

Implementation

const AssistantMessageEvent({
  required super.id,
  required super.timestamp,
  super.parentId,
  super.ephemeral,
  required this.messageId,
  required this.content,
  this.toolRequests,
  this.reasoningOpaque,
  this.reasoningText,
  this.encryptedContent,
  this.phase,
  this.parentToolCallId,
}) : super(type: 'assistant.message');