withoutParam static method

RelayCommand<void> withoutParam(
  1. void execute()
)

Initializes a new instance of RelayCommand that does not need any parameter when executing.

Implementation

static RelayCommand<void> withoutParam(void Function() execute) {
  return _RelayCommandImplWithoutParams(execute);
}