RoleBuilder class

Inheritance

Constructors

RoleBuilder({String? name, Flags<Permissions>? permissions, DiscordColor? color, bool? isHoisted, ImageBuilder? icon, String? unicodeEmoji, bool? isMentionable})

Properties

color DiscordColor?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon ImageBuilder?
getter/setter pair
isHoisted bool?
getter/setter pair
isMentionable bool?
getter/setter pair
name String?
getter/setter pair
permissions Flags<Permissions>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unicodeEmoji String?
getter/setter pair

Methods

build() Map<String, Object?>
override
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