withoutParam<TOut> static method

AsyncTwoWayCommand<void, TOut> withoutParam<TOut>(
  1. Future<TOut> execute()
)
override

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

Returns a value TOut.

Implementation

static AsyncTwoWayCommand<void, TOut> withoutParam<TOut>(Future<TOut> Function() execute) {
  return _AsyncTwoWayCommandImplWithoutParams<TOut>(execute);
}