ChatCompletionMessage constructor

ChatCompletionMessage({
  1. required String role,
  2. String? content,
  3. String? reasoningContent,
  4. List<ChatCompletionToolCall>? toolCalls,
  5. List? annotations,
})

Implementation

ChatCompletionMessage({
  required this.role,
  this.content,
  this.reasoningContent,
  this.toolCalls,
  this.annotations,
});