PartialMember class

A partial Member.

Inheritance
Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
id Snowflake
The id of this entity.
finalinherited
manager MemberManager
The manager for this entity.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRole(Snowflake roleId, {String? auditLogReason}) Future<void>
Add a role to this member.
ban({String? auditLogReason}) Future<void>
Ban this member.
defaultToString() String
Same as toString, but only called when dart:mirrors is not available.
inherited
delete({String? auditLogReason}) Future<void>
Kick this member.
override
fetch() Future<Member>
Fetch this entity from the API.
inherited
get() Future<Member>
If this entity exists in the manager's cache, return the cached instance. Otherwise, fetch this entity and return it.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeRole(Snowflake roleId, {String? auditLogReason}) Future<void>
Remove a role from this member.
toString() String
A string representation of this object.
inherited
unban({String? auditLogReason}) Future<void>
Unban this member.
update(covariant MemberUpdateBuilder builder, {String? auditLogReason}) Future<Member>
Update this member, returning the updated member.
override

Operators

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