IBaseGuildEmoji class Null safety

Implemented types
Implementers

Constructors

IBaseGuildEmoji.fromId(Snowflake id)
Creates partial emoji from given String or Snowflake.
factory

Properties

animated bool
Whether this emoji is animated.
read-only
createdAt DateTime
Gets creation timestamp included in Snowflake
read-only, inherited
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
name String
The name of the emoji.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

cdnUrl({String? format, int? size}) String
Returns cdn url to emoji
encodeForAPI() String
Returns encoded emoji for API usage
inherited
formatForMessage() String
Returns encoded emoji for usage in message
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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