SlashCommand class Null safety

Represents slash command that is returned from Discord API.

Inheritance

Properties

applicationId Snowflake
Unique id of the parent application
read / write, final, late
createdAt DateTime
Gets creation timestamp included in Snowflake
read-only, inherited
description String
Command description shown to the user in the Slash Command UI
read / write, final, late
hashCode int
The hash code for this object. [...]
read-only, inherited
id Snowflake
ID of entity as Snowflake
final, inherited
name String
Command name to be shown to the user in the Slash Command UI
read / write, final, late
options List<CommandOption>
The arguments that the command takes
read / write, final, late
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 ==(dynamic other) bool
The equality operator. [...]
inherited