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<TParam, TResult> result)?, Duration? debounceDuration})
Properties
-
busyChangeSubscription
↔ StreamSubscription<
bool> ? -
getter/setter pair
-
busySubscription
↔ StreamSubscription<
bool> ? -
getter/setter pair
-
canExecuteStateSubscription
↔ StreamSubscription<
bool> ? -
getter/setter pair
-
command
→ RxCommand<
TParam, TResult> -
final
- debounceDuration → Duration?
-
final
- errorSubscription ↔ StreamSubscription?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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<
TParam, TResult> result)?) -
final
- onValue → (void Function(TResult? value)?)
-
final
-
resultsSubscription
↔ StreamSubscription<
CommandResult> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
valueSubscription
↔ StreamSubscription<
TResult?> ? -
getter/setter pair
Methods
-
dispose(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited