RxCommandListener<TParam, TResult> class
Constructors
-
RxCommandListener(RxCommand<
TParam, TResult> command,{void onValue(TResult value ), void onIsBusyChange(bool isBusy ), void onIsBusy(), void onNotBusy(), void onError(dynamic ex ), void onCanExecuteChange(bool state ), void onResult(CommandResult< TResult> result), Duration debounceDuration} )
Properties
-
busyChangeSubscription
↔ StreamSubscription<
bool> -
read / write
-
busySubscription
↔ StreamSubscription<
bool> -
read / write
-
canExecuteStateSubscription
↔ StreamSubscription<
bool> -
read / write
-
command
→ RxCommand<
TParam, TResult> -
final
- debounceDuration → Duration
-
final
- errorSubscription ↔ StreamSubscription
-
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
onCanExecuteChange
→ void Function(bool state
) -
final
-
onError
→ void Function(dynamic ex
) -
final
- onIsBusy → void Function()
-
final
-
onIsBusyChange
→ void Function(bool isBusy
) -
final
- onNotBusy → void Function()
-
final
-
onResult
→ void Function(CommandResult<
TResult> result) -
final
-
onValue
→ void Function(TResult value
) -
final
-
resultsSubscription
↔ StreamSubscription<
CommandResult> -
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
valueSubscription
↔ StreamSubscription<
TResult> -
read / write
Methods
-
dispose(
) → void -
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other ) → bool -
The equality operator. [...]
inherited