ChatMessageText class

Text of a ChatMessage.

Inheritance

Constructors

ChatMessageText(String val)
const
ChatMessageText.fromJson(String val)
Constructs a ChatMessageText from the provided val.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
val String
Actual value wrapped by this NewType.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
split() List<ChatMessageText>
Splits this ChatMessageText equally by the maxLength characters.
toJson() String
Returns a String representing this ChatMessageText.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

maxLength → const int
Maximum allowed number of characters in this ChatMessageText.