SystemChatMessage constructor
SystemChatMessage(
- String content
Represents a system-generated chat message.
This class extends the base class and takes the content of the message as a parameter.
Example usage:
var message = SystemChatMessage('System maintenance scheduled.');
print(message.content); // Outputs: System maintenance scheduled.
Parameters:
content
: The content of the chat message.
Implementation
SystemChatMessage(super.content);