withParam<TIn> static method
Initializes a new instance of RelayCommand that needs a parameter TIn
when executing.
Implementation
static RelayCommand<TIn> withParam<TIn>(void Function(TIn) execute) {
return _RelayCommandImplWithParams<TIn>(execute);
}