TaskResult class
Result of executing a Task.
Constructors
- TaskResult(TaskInvocation invocation, [ExceptionAndStackTrace? exceptionAndStackTrace])
Properties
- error → Exception?
-
no setter
- exceptionAndStackTrace → ExceptionAndStackTrace?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- invocation → TaskInvocation
-
final
- isCancelled → bool
-
Whether this task result is due to a task having been cancelled.
If this is
true
, isFailure will also betrue
.no setter - isFailure → bool
-
Whether this task result is a failure.
no setter
- isSuccess → bool
-
Whether this task result is successful.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited