CancelReason class abstract
Why a job was cancelled, with any data the reason needs.
Extend this class to carry domain data such as an error, its stack trace, or an identifier. Inspect reasons by type; name is only a display label. There is no equality by name: subclasses inherit identity equality unless they define their own value equality.
- Implementers
- Annotations
-
- @immutable
Constructors
- CancelReason()
-
Creates a reason for a subclass.
const
Properties
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