CommandData constructor

CommandData(
  1. String command
)

Constructs a CommandData instance with the given command.

  • command: The name or identifier of the command. The parameters list is initialized as empty by default but can be filled as needed.

Implementation

CommandData(this.command) : parameters = [];