CommandResponse.succeeded constructor

CommandResponse.succeeded()

Creates a CommandResponse representing a success.

  • Returns: A CommandResponse with an empty response message and the succeeded flag set to true.

Implementation

factory CommandResponse.succeeded() {
  return CommandResponse('', true);
}