PartialApplicationCommand class
A partial ApplicationCommand.
- Inheritance
-
- Object
- SnowflakeEntity<
ApplicationCommand> - ManagedSnowflakeEntity<
ApplicationCommand> - WritableSnowflakeEntity<
ApplicationCommand> - PartialApplicationCommand
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake
-
The id of this entity.
finalinherited
- manager → ApplicationCommandManager
-
The manager for this entity.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
delete(
) → Future< void> -
Delete this entity.
inherited
-
fetch(
) → Future< ApplicationCommand> -
Fetch this entity from the API.
inherited
-
fetchPermissions(
Snowflake guildId) → Future< CommandPermissions> - Fetch the permissions for this command in a given guild.
-
get(
) → Future< ApplicationCommand> -
If this entity exists in the manager's cache, return the cached instance. Otherwise, fetch
this entity and return it.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
covariant UpdateBuilder< ApplicationCommand> builder) → Future<ApplicationCommand> -
Update this entity using the provided builder and return the updated entity.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited