User class Null safety

Constructors

User(Snowflake _id, String _username, String _discriminator, bool _bot, int _publicFlags, ImageFormater? _avatar, ImageFormater? _avatarDecoration)
User.from(dynamic payload)
factory

Properties

avatar → ImageFormater?
read-only
avatarDecoration → ImageFormater?
read-only
bot bool
read-only
defaultAvatar String
Returns the absolute url to the user's avatar
read-only
discriminator String
read-only
hashCode int
The hash code for this object.
read-only, inherited
id Snowflake
read-only
publicFlags int
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status Status
read / write
tag String
read-only
username String
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
send({String? content, List<EmbedBuilder>? embeds, List<RowBuilder>? components, bool? tts}) Future<DmMessage?>
Envoie un message en DM à l'utilisateur
toGuildMember(Snowflake guildId) GuildMember?
Return GuildMember of Guild context for this
toString() String
A string representation of this object.
override

Operators

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