CategoryChannel class Null safety
- Inheritance
-
- Object
- PartialChannel
- GuildChannel
- CategoryChannel
Constructors
- CategoryChannel(Snowflake guildId, Snowflake? parentId, String label, int type, int? position, int? flags, PermissionOverwriteManager? permissions, Snowflake id)
- CategoryChannel.fromPayload(dynamic payload)
-
factory
Properties
-
children
→ Map<
Snowflake, GuildChannel> -
Get children of this
read-only
- container → Ioc
-
Service manager including the core components of the Mineral framework
read-only, inherited
-
flags
→ List<
Flag> -
Get List of
Flag
read-only, inherited - guild → Guild
-
Get Guild from Ioc
read-only, inherited
- hashCode → int
-
The hash code for this object.
read-only, inherited
- id → Snowflake
-
Get id of this
read-only, inherited
- label → String
-
Get GuildChannel label
read-only, inherited
- parent → GuildChannel?
-
Get CategoryChannel or TextChannel parent
read-only, inherited
- permissions → PermissionOverwriteManager?
-
Get PermissionOverwrite manager
read-only, inherited
- position → int?
-
Get GuildChannel permission
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- type → ChannelType
-
Get GuildChannel type
read-only, inherited
Methods
-
create(
ChannelBuilder channel) → Future< GuildChannel> -
delete(
) → Future< bool> -
Deletes this
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
setLabel(
String value) → Future< void> -
inherited
-
setParent(
CategoryChannel channel) → Future< void> -
inherited
-
setParentId(
Snowflake id) → Future< void> -
inherited
-
setPermissionsOverwrite(
List< PermissionOverwrite> permissions) → Future<void> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
ChannelBuilder builder) → Future< void> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited