CommandEvents<TParam, TResult> constructor
CommandEvents<TParam, TResult> (
- RxCommand<
TParam, TResult> command
Implementation
CommandEvents(this.command) {
values = command;
results = command.results;
executing = command.isExecuting;
exceptions = command.thrownExceptions;
canExecute = command.canExecute;
_subscription = exceptions.listen((error) {
// ignore: avoid_print
print(error);
});
}