ChannelType enum

Inheritance
Implemented types
Available extensions

Values

guildText → const ChannelType
const ChannelType(0)
dm → const ChannelType
const ChannelType(1)
guildVoice → const ChannelType
const ChannelType(2)
groupDm → const ChannelType
const ChannelType(3)
guildCategory → const ChannelType
const ChannelType(4)
guildAnnouncement → const ChannelType
const ChannelType(5)
announcementThread → const ChannelType
const ChannelType(10)
guildPublicThread → const ChannelType
const ChannelType(11)
guildPrivateThread → const ChannelType
const ChannelType(12)
guildStageVoice → const ChannelType
const ChannelType(13)
guildDirectory → const ChannelType
const ChannelType(14)
guildForum → const ChannelType
const ChannelType(15)
guildMedia → const ChannelType
const ChannelType(16)
unknown → const ChannelType
const ChannelType(-1)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

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

Operators

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

Static Properties

privateTypes List<ChannelType>
getter/setter pair
serverTypes List<ChannelType>
getter/setter pair

Constants

values → const List<ChannelType>
A constant List of the values in this enum, in order of their declaration.