DiscordRole class
Constructors
- DiscordRole({required DiscordSnowflake id, required String name, int? color, bool? hoist, String? icon, String? unicodeEmoji, int? position, String? permissions, bool? managed, bool? mentionable, DiscordRoleTags? tags})
-
DiscordRole.fromJson(Map<
String, dynamic> json) -
factory
Properties
- color → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hoist → bool?
-
final
- icon → String?
-
final
- id → DiscordSnowflake
-
final
- managed → bool?
-
final
- mentionable → bool?
-
final
- name → String
-
final
- permissions → String?
-
final
- position → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
final
- unicodeEmoji → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- colorEntry → const String
- hoistEntry → const String
- iconEntry → const String
- idEntry → const String
- managedEntry → const String
- mentionableEntry → const String
- nameEntry → const String
- permissionsEntry → const String
- positionEntry → const String
- unicodeEmojiEntry → const String