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