Member class Null safety

Implemented types


boostingSince DateTime?
When the user starting boosting the guild
read / write
client INyxx
Reference to client
createdAt DateTime
Gets creation timestamp included in Snowflake
read-only, inherited
deaf bool
Weather or not the member is deafened.
final, read / write, late
effectivePermissions Future<Permissions>
Returns total permissions of user.
guild Cacheable<Snowflake, Guild>
Cacheable of guild where member is located
final, read / write, late
hashCode int
The hash code for this object. [...]
read-only, inherited
highestRole Role
Returns highest role of member. Uses ! on nullable properties and will throw if anything is missing from cache
hoistedRole Cacheable<Snowflake, Role>
Highest role of member
read / write
id Snowflake
ID of entity as Snowflake
final, inherited
joinedAt DateTime
When the member joined the guild.
final, read / write, late
mention String
The channel's mention string.
read-only, override
mute bool
Weather or not the member is muted.
final, read / write, late
nickname String?
The members nickname, null if not set.
read / write
roles Iterable<Cacheable<Snowflake, Role>>
Roles of member
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
user Cacheable<Snowflake, User>
Cacheable for this Guild member
final, read / write, late
voiceState VoiceState?
Voice state of member. Null if not connected to channel or voice state not cached


addRole(SnowflakeEntity role, {String? auditReason}) Future<void>
Adds role to user. [...]
ban({int? deleteMessageDays, String? reason, String? auditReason}) Future<void>
Bans the member and optionally deletes deleteMessageDays days worth of messages.
edit({String? nick, List<SnowflakeEntity>? roles, bool? mute, bool? deaf, SnowflakeEntity? channel, String? auditReason}) Future<void>
Edits members. Allows to move user in voice channel, mute or deaf, change nick, roles.
kick({String? auditReason}) Future<void>
Kicks the member from guild
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
removeRole(SnowflakeEntity role, {String? auditReason}) Future<void>
Removes role from user.
toString() String
A string representation of this object. [...]


operator ==(dynamic other) bool
The equality operator. [...]