DiscordEmoji class

Constructors

DiscordEmoji({DiscordSnowflake? id, String? name, List<String>? roles, DiscordUser? user, bool? requireColons, bool? managed, bool? animated, bool? available})
DiscordEmoji.fromJson(Map<String, dynamic> json)
factory

Properties

animated bool?
whether this emoji is animated
final
available bool?
whether this emoji can be used, may be false due to loss of Server Boosts
final
hashCode int
The hash code for this object.
no setterinherited
id DiscordSnowflake?
emoji id
final
managed bool?
whether this emoji is managed
final
name String?
emoji name
final
requireColons bool?
whether this emoji must be wrapped in colons
final
roles List<String>?
roles allowed to use this emoji
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user DiscordUser?
user that created this emoji
final

Methods

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

Operators

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

Constants

animatedEntry → const String
availableEntry → const String
idEntry → const String
managedEntry → const String
nameEntry → const String
requireColonsEntry → const String
rolesEntry → const String
userEntry → const String