User class
Constructors
-
User(Snowflake _id, String _username, String _discriminator, bool _bot, bool _system, List<
UserFlagContract> _publicFlags, List<UserFlagContract> _flags, UserDecoration _decoration, String _lang, ) - User.from(dynamic payload)
-
factory
Properties
- decoration → UserDecoration
-
no setter
- discriminator → String
-
no setter
-
flags
→ List<
UserFlagContract> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake
-
no setter
- isBot → bool
-
no setter
- isSystem → bool
-
no setter
- lang → Locale
-
no setter
-
getter/setter pair
-
publicFlags
→ List<
UserFlagContract> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → String
-
no setter
- username → String
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
{String? content, List< EmbedBuilder> ? embeds, ComponentBuilder? components, List<AttachmentBuilder> ? attachments, 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