call method
Executes this command.
parameteris an optional value. It will depend on the type of command whether this will be handled or not.
Implementation
@override
TOut? call([covariant TIn? parameter]) {
if (canExecute.value) {
return execute(parameter);
}
return null;
}