GuildEmoji class Null safety

Implemented types


animated bool
whether this emoji is animated
final, read / write, late
cdnUrl String
Returns cdn url to emoji
read-only, inherited
client INyxx
Reference to client
createdAt DateTime
Gets creation timestamp included in Snowflake
read-only, inherited
guild Cacheable<Snowflake, Guild>
Reference to guild where emoji belongs to
final, read / write, late
hashCode int
The hash code for this object. [...]
read-only, inherited
id Snowflake
ID of entity as Snowflake
final, inherited
isPartial bool
True if emoji is partial.
read-only, override
managed bool
whether this emoji is managed
final, read / write, late
requireColons bool
whether this emoji must be wrapped in colons
final, read / write, late
roles Iterable<Cacheable<Snowflake, Role>>
Roles which can use this emote
final, read / write, late
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


delete() Future<void>
Allows to delete guild emoji
edit({String? name, List<Snowflake>? roles}) Future<void>
Allows to edit guild emoji
encodeForAPI() String
Returns encoded emoji for API usage
formatForMessage() String
Returns encoded emoji for usage in message
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
Returns encoded string ready to send via message.


operator ==(dynamic other) bool
The equality operator. [...]