AiChatMessage constructor

const AiChatMessage({
  1. required AiRole role,
  2. required String content,
  3. List<AiToolCallRequest> toolCalls = const [],
  4. String? toolCallId,
})

Implementation

const AiChatMessage({
  required this.role,
  required this.content,
  this.toolCalls = const [],
  this.toolCallId,
});