ISlashCommandPermissionOverride class Null safety

A single permission override for a command.

Constructors

ISlashCommandPermissionOverride()

Properties

allowed bool
Whether this override allows or denies the command permission.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
id Snowflake
The ID of the entity targeted by this override.
read-only
isAllChannels bool
Whether this override represents all channels in a guild.
read-only
isEveryone bool
Whether this override represents all users in a guild.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type SlashCommandPermissionType
The type of this override.
read-only

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