CommandResult<T> class

Combined execution state of an RxCommand Will be issued for any statechange of any of the fields During normal command execution you will get this items listening at the command's .results observable.

  1. If the command was just newly created you will get null, false, false (data, error, isExecuting)
  2. When calling execute: null, false, true
  3. When exceution finishes: the result, false, false

Constructors

CommandResult(T data, dynamic error, bool isExecuting)
const

Properties

data → T
final
error → dynamic
final
hasData → bool
read-only
hasError → bool
read-only
hashCode → int
The hash code for this object. [...]
read-only
isExecuting → bool
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() → String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]