withParam<TIn, TOut> static method
Initializes a new instance of AsyncTwoWayCommand that needs a parameter TIn
when executing.
Returns a value TOut
.
Implementation
static AsyncTwoWayCommand<TIn, TOut> withParam<TIn, TOut>(Future<TOut> Function(TIn) execute) {
return _AsyncTwoWayCommandImplWithParams<TIn, TOut>(execute);
}