ChatMessageContentText class

The content of a message that is text.

Inheritance

Constructors

ChatMessageContentText.new({required String text})
The content of a message that is text.
const
ChatMessageContentText.fromMap(Map<String, dynamic> map)
Converts a map to a ChatMessageContentText.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The text content.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Converts this ChatMessageContent to a map along with a type hint for deserialization.
override
toString() String
A string representation of this object.
override

Operators

operator ==(covariant ChatMessageContentText other) bool
The equality operator.
override