SystemChatMessage class
Type of message that is a system message.
- Inheritance
-
- Object
- ChatMessage
- SystemChatMessage
- Annotations
-
- @immutable
Constructors
- SystemChatMessage({required String content})
-
Type of message that is a system message.
const
Properties
- content → String
-
The content of the message.
final
- contentAsString → String
-
Returns to content of the message as a string.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
concat(
ChatMessage other) → SystemChatMessage -
Merges this message with another by concatenating the content.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant SystemChatMessage other) → bool -
The equality operator.
override
Constants
- defaultPrefix → const String
- Default prefix for SystemChatMessage.