Intent enum Null safety

Inheritance

Constructors

Intent(int value)
const

Values

guilds → const Intent
Intent(1 << 0)
guildMembers → const Intent
Intent(1 << 1)
guildBans → const Intent
Intent(1 << 2)
guildEmojisAndStickers → const Intent
Intent(1 << 3)
guildIntegrations → const Intent
Intent(1 << 4)
guildWebhooks → const Intent
Intent(1 << 5)
guildInvites → const Intent
Intent(1 << 6)
guildVoiceStates → const Intent
Intent(1 << 7)
guildPresences → const Intent
Intent(1 << 8)
guildMessages → const Intent
Intent(1 << 9)
guildMessageReactions → const Intent
Intent(1 << 10)
guildMessageTyping → const Intent
Intent(1 << 11)
directMessages → const Intent
Intent(1 << 12)
directMessageReaction → const Intent
Intent(1 << 13)
directMessageTyping → const Intent
Intent(1 << 14)
messageContent → const Intent
Intent(1 << 17)
guildScheduledEvents → const Intent
Intent(1 << 16)
autoModerationConfiguration → const Intent
Intent(1 << 20)
autoModerationExecution → const Intent
Intent(1 << 21)
all → const Intent
Intent(0)

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Methods

getIntent(List<Intent> intents) int

Constants

values → const List<Intent>
A constant List of the values in this enum, in order of their declaration.
[guilds, guildMembers, guildBans, guildEmojisAndStickers, guildIntegrations, guildWebhooks, guildInvites, guildVoiceStates, guildPresences, guildMessages, guildMessageReactions, guildMessageTyping, di…