MemberRoleManager class final

Constructors

MemberRoleManager(List<Snowflake> currentIds, Snowflake _serverId, Snowflake _memberId)

Properties

currentIds List<Snowflake>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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