MemberRoleManager class final
Constructors
-
MemberRoleManager(Map<
Snowflake, Role> _roles) -
MemberRoleManager.fromList(List<
Role> payload) -
factory
Properties
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