ChannelType enum Null safety

Inheritance

Constructors

ChannelType(int value)
const

Values

guildText → const ChannelType
ChannelType(0)
private → const ChannelType
ChannelType(1)
guildVoice → const ChannelType
ChannelType(2)
groupDm → const ChannelType
ChannelType(3)
guildCategory → const ChannelType
ChannelType(4)
guildNews → const ChannelType
ChannelType(5)
guildNewsThread → const ChannelType
ChannelType(10)
guildPublicThread → const ChannelType
ChannelType(11)
guildPrivateThread → const ChannelType
ChannelType(12)
guildStageVoice → const ChannelType
ChannelType(13)
guildDirectory → const ChannelType
ChannelType(14)
guildForum → const ChannelType
ChannelType(15)

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.
inherited

Operators

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

Constants

values → const List<ChannelType>
A constant List of the values in this enum, in order of their declaration.
[guildText, private, guildVoice, groupDm, guildCategory, guildNews, guildNewsThread, guildPublicThread, guildPrivateThread, guildStageVoice, guildDirectory, guildForum]