ModmailMessage class
A class that represents a message from a ModmailConversation.
Constructors
-
ModmailMessage.parse(Reddit reddit, Map<
String, dynamic> ? data)
Properties
-
The Redditor who composed this message.
no setter
- body → String
-
The HTML body of the message.
no setter
- bodyMarkdown → String
-
The body of the message in Markdown format.
no setter
-
data
→ Map<
String, dynamic> ? -
final
- date → DateTime
-
The date and time the message was sent.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
A unique ID associated with this message.
no setter
- isDeleted → bool
-
True if the account that authored this message has been deleted.
no setter
- isHidden → bool
-
True if the message was sent on behalf of a subreddit.
no setter
- isInternal → bool
-
True if the message is only visible to moderators.
no setter
- isOriginalPoster → bool
-
True if this message was written by the author of the thread.
no setter
- isParticipant → bool
-
True if the author of this message has participated in the conversation.
no setter
- reddit → Reddit
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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 ==(
Object other) → bool -
The equality operator.
inherited