startExecution method
void
startExecution([
- TParam? param
For a more fine grained control to simulate the different states of an Command
there are these functions
startExecution
will issue a CommandResult with
data: null
error: null
isExecuting : true
Implementation
void startExecution([TParam? param]) {
lastPassedValueToExecute = param;
_commandResult.value = CommandResult<TParam, TResult>(
param,
_includeLastResultInCommandResults ? value : null,
null,
true,
);
_isExecuting.value = true;
}