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
-
add({required String memberId, required String serverId, required String roleId, required String? reason})
→ Future<void>
-
-
create(String serverId, String name, List<Permission> permissions, Color color, bool hoist, bool mentionable, String? reason)
→ Future<Role>
-
-
delete({required String id, required String guildId, required String? reason})
→ Future<void>
-
-
fetch(String serverId, bool force)
→ Future<Map<Snowflake, Role>>
-
-
get(String serverId, String id, bool force)
→ Future<Role?>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
remove({required String memberId, required String serverId, required String roleId, required String? reason})
→ Future<void>
-
-
sync({required String memberId, required String serverId, required List<String> roleIds, required String? reason})
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
update({required String id, required String serverId, required Map<String, dynamic> payload, required String? reason})
→ Future<Role?>
-