IGuildEmoji class abstract
- Inheritance
-
- Object
- SnowflakeEntity
- IGuildEmoji
- Implemented types
- Implementers
Constructors
- IGuildEmoji.fromId(dynamic id, [bool animated = false])
-
Creates partial emoji from given String or Snowflake.
factory
Properties
- cdnUrl → String
-
Returns cdn url to emoji
no setter
- createdAt → DateTime
-
Gets creation timestamp included in Snowflake
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake
-
ID of entity as Snowflake
finalinherited
- isPartial → bool
-
True if emoji is partial.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
encodeForAPI(
) → String -
Returns encoded emoji for API usage
override
-
formatForMessage(
) → String -
Returns encoded emoji for usage in message
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns encoded string ready to send via message.
override
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
inherited