Emoji class Null safety

Represents an Emoji on Guild context.

Constructors

Emoji(Snowflake _id, String _label, bool _animated, GuildMember? _creator, bool _requireColons, bool _managed, bool _available, EmojiManager _manager)
Emoji.from({required MemberManager memberManager, required EmojiManager emojiManager, required dynamic payload})
factory

Properties

available bool
read-only
creator GuildMember?
read-only
hashCode int
The hash code for this object.
read-only, inherited
id Snowflake
read-only, inherited
isAnimated bool
read-only, inherited
label String
read-only, inherited
managed bool
read-only
manager → EmojiManager
read-only
requireColons bool
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

delete() Future<void>
Removes the current this from the EmojiManager's cache
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
setLabel(String label) Future<void>
Modifies the label of this.
toJson() Object
inherited
toString() String
Returns this in discord notification format
override

Operators

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