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
-
read / write
- busySubscription ↔ StreamSubscription
-
read / write
- canExecuteStateSubscription ↔ StreamSubscription
-
read / write
-
command
→ RxCommand<
TParam, TResult> -
final
- debounceDuration → Duration
-
final
- errorSubscription ↔ StreamSubscription
-
read / write
- 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
-
read / write
- valueSubscription ↔ StreamSubscription
-
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
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 ==(
dynamic other) → bool -
The equality operator. [...]
inherited