DiscordMessageModel class

Constructors

DiscordMessageModel({required String id, required int type, required String content, required String channelId, required Author author, required List attachments, required List embeds, required List mentions, required List mentionRoles, required bool pinned, required bool mentionEveryone, required bool tts, required DateTime timestamp, dynamic editedTimestamp, required int flags, required List components})
DiscordMessageModel.fromJson(Map<String, dynamic> json)
factory

Properties

attachments List
getter/setter pair
author Author
getter/setter pair
channelId String
getter/setter pair
components List
getter/setter pair
content String
getter/setter pair
editedTimestamp ↔ dynamic
getter/setter pair
embeds List
getter/setter pair
flags int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
mentionEveryone bool
getter/setter pair
mentionRoles List
getter/setter pair
mentions List
getter/setter pair
pinned bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
getter/setter pair
tts bool
getter/setter pair
type int
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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