AssistantChatMessage constructor

AssistantChatMessage(
  1. String content
)

Represents a chat message from the assistant.

The AssistantChatMessage class extends a base class with the provided content of the message.

Example usage:

var message = AssistantChatMessage('Hello, how can I assist you?');
print(message.content); // Output: Hello, how can I assist you?

Parameters:

  • content: The content of the chat message.

Implementation

AssistantChatMessage(super.content);