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 if directly listening at the command.
- If the command was just newly created you will get
null, false, false
(data, error, isExecuting) - When calling execute:
null, false, true
- When exceution finishes:
the result, false, false
Constructors
- CommandResult(T data, Exception error, bool isExecuting)
-
const
Properties
- data → T
-
final
- error → Exception
-
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
-
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. [...]