ChannelBuilder class Null safety

Builder for creating mini channel instance

Implemented types

Constructors

ChannelBuilder(String name, ChannelType type)
Builder for creating mini channel instance

Properties

bitrate int?
The bitrate (in bits) of the voice channel (voice only)
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
name String
Name of channel
read / write
nsfw bool?
Whether the channel is nsfw
read / write
overrides List<PermissionOverrideBuilder>?
The channel's permission overwrites
read / write
parentChannel SnowflakeEntity?
Id of the parent category for a channel
read / write
position int?
Sorting position of the channel
read / write
rateLimitPerUser int?
Amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission manage_messages or manage_channel, are unaffected
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
topic String?
Channel topic (0-1024 characters)
read / write
type ChannelType
Type of channel
read / write
userLimit int?
The user limit of the voice channel (voice only)
read / write

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