BodyCancelReason class final
The body cancelled itself, directly or by letting a child's cancellation escape.
- Inheritance
-
- Object
- CancelReason
- BodyCancelReason
Constructors
- BodyCancelReason({Cancelled? cause})
-
Creates a body cancellation reason with its optional
cause.const
Properties
- cause → Cancelled?
-
The child's cancellation when it escaped through the parent's body.
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