call method

  1. @override
void call([
  1. Object? parameter
])
override

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);
  }
}