Emoji class final
- Inheritance
-
- Object
- PartialEmoji
- Emoji
Constructors
Properties
- animated → bool
-
finalinherited
- available → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake?
-
finalinherited
- managed → bool
-
final
- name → String
-
finalinherited
-
roles
→ Map<
Snowflake, Role> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverId → Snowflake
-
final
Methods
-
addRole(
Snowflake role, {String? reason}) → Future< void> - Add role
-
delete(
{String? reason}) → Future< void> - Delete an emoji.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeRole(
Snowflake role, {String? reason}) → Future< void> - Remove role
-
setImage(
Image image, {String? reason}) → Future< void> - Update image
-
setName(
String name, {String? reason}) → Future< void> - Update name
-
setRoles(
List< Snowflake> roles, {String? reason}) → Future<void> - Update roles
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
{String? name, Image? image, List< Snowflake> roles = const [], String? reason}) → Future<void> - Update an emoji.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited