ChannelType class Null safety

Enum for possible channel types

Inheritance

Constructors

ChannelType.from(int value)
Creates instance of ChannelType from value.

Properties

hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value int
Returns value of enum
read-only, inherited

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 ==(dynamic other) bool
The equality operator. [...]
override

Constants

category → const ChannelType
ChannelType._create(4)
dm → const ChannelType
ChannelType._create(1)
groupDm → const ChannelType
ChannelType._create(3)
guildDirectory → const ChannelType
Channel in a Student Hub containing the listed servers
ChannelType._create(14)
guildNews → const ChannelType
ChannelType._create(5)
guildNewsThread → const ChannelType
ChannelType._create(10)
guildPrivateThread → const ChannelType
ChannelType._create(12)
guildPublicThread → const ChannelType
ChannelType._create(11)
guildStage → const ChannelType
ChannelType._create(13)
guildStore → const ChannelType
ChannelType._create(6)
text → const ChannelType
ChannelType._create(0)
unknown → const ChannelType
Type of channel is unknown
ChannelType._create(1337)
voice → const ChannelType
ChannelType._create(2)