MemberRoleManager class final

Constructors

MemberRoleManager(Map<Snowflake, Role> _roles)
MemberRoleManager.fromList(List<Role> payload)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
list Map<Snowflake, Role>
no setter
member Member
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
server Server
latefinal

Methods

add(Snowflake roleId, {String? reason}) Future<void>
clear({String? reason}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(Snowflake roleId, {String? reason}) Future<void>
sync(List<Snowflake> roleIds, {String? reason}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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