CommandSync<TParam, TResult> constructor
CommandSync<TParam, TResult> ()
Implementation
CommandSync(
TResult Function(TParam)? func,
TResult Function()? funcNoParam,
TResult initialValue,
ValueListenable<bool>? restriction,
bool includeLastResultInCommandResults,
bool noReturnValue,
bool? catchAlways,
String? debugName,
bool noParamValue,
) : _func = func,
_funcNoParam = funcNoParam,
super(
initialValue,
restriction,
includeLastResultInCommandResults,
noReturnValue,
catchAlways ?? Command.catchAlwaysDefault,
debugName,
noParamValue);