ChainCancelReason class final
A cancellation forwarded between jobs connected by Job.then, or from a source to a handle of Job.shared.
- Inheritance
-
- Object
- CancelReason
- ChainCancelReason
Constructors
- ChainCancelReason({required Cancelled cause})
-
Creates a chain cancellation preserving its
cause.const
Properties
- cause → Cancelled
-
The cancellation of the adjacent job that caused this request.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
A short label for journals and diagnostics, not a type identifier.
no setteroverride
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited