CommandResponse constructor

CommandResponse(
  1. String response,
  2. bool succeeded
)

Constructs a CommandResponse with a response message and a success flag.

  • response: The response message, which may contain details about the success or failure.
  • succeeded: A boolean indicating if the operation succeeded (true) or failed (false).

Implementation

CommandResponse(this.response, this.succeeded);