Member class Null safety

Implemented types


avatarHash String?
Member's avatar in Guild
late, final
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.
late, final
effectivePermissions Future<Permissions>
Returns total permissions of user.
guild Cacheable<Snowflake, Guild>
Cacheable of guild where member is located
late, final
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
late, final
id Snowflake
ID of entity as Snowflake
final, inherited
joinedAt DateTime
When the member joined the guild.
late, final
mention String
The channel's mention string.
read-only, override
mute bool
Weather or not the member is muted.
late, final
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
late, final
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. [...]
avatarURL({String format = "webp"}) String?
Returns url to member avatar
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, Snowflake? channel = const, 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. [...]