withoutParam<TOut> static method

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

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

Returns a value TOut.

Implementation

static TwoWayCommand<void, TOut> withoutParam<TOut>(TOut Function() execute) {
  return _TwoWayCommandImplWithoutParams<void, TOut>(execute);
}