CommandPermission class
The permission for a role, user or channel to use an ApplicationCommand.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasPermission → bool
-
Whether the entity has the permission to use the command.
final
- id → Snowflake
-
The ID of the target entity.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → CommandPermissionType
-
The type of entity.
final
Methods
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
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