GroqMessage constructor

GroqMessage({
  1. required String content,
  2. GroqMessageRole role = GroqMessageRole.user,
  3. List<GroqToolCall> toolCalls = const [],
  4. bool isToolCall = false,
  5. String? username,
})

Implementation

GroqMessage({
  required this.content,
  this.role = GroqMessageRole.user,
  this.toolCalls = const [],
  this.isToolCall = false,
  this.username,
});