CommandResponse.succeeded constructor
CommandResponse.succeeded()
Creates a CommandResponse representing a success.
- Returns: A CommandResponse with an empty response message and the
succeeded
flag set totrue
.
Implementation
factory CommandResponse.succeeded() {
return CommandResponse('', true);
}