Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addRole({required Snowflake memberId, required Snowflake serverId, required Snowflake roleId, required String? reason})
→ Future<void>
-
-
deleteRole({required Snowflake id, required Snowflake guildId, required String? reason})
→ Future<void>
-
-
getRole({required Snowflake serverId, required Snowflake roleId})
→ Future<Role>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
removeRole({required Snowflake memberId, required Snowflake serverId, required Snowflake roleId, required String? reason})
→ Future<void>
-
-
syncRoles({required Snowflake memberId, required Snowflake serverId, required List<Snowflake> roleIds, required String? reason})
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateRole({required Snowflake id, required Snowflake serverId, required Map<String, dynamic> payload, required String? reason})
→ Future<Role?>
-