withoutParam static method

AsyncRelayCommand<void> withoutParam(
  1. Future<void> execute()
)

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

Implementation

static AsyncRelayCommand<void> withoutParam(Future<void> Function() execute) {
  return _AsyncRelayCommandImplWithoutParams(execute);
}