TaskProcessCancelled class final

Task cancelled or expired.

Inheritance

Constructors

TaskProcessCancelled({required Envelope envelope, required TaskCancellationReason reason, Object? error})
Creates an outcome for a cancelled or expired task.
const

Properties

attempt → int
Zero-based attempt processed by the handler.
no setterinherited
envelope → Envelope
Effective envelope used for this attempt.
finalinherited
error → Object?
Optional cancellation error.
final
hashCode → int
The hash code for this object.
no setterinherited
reason → TaskCancellationReason
Cancellation category.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
taskId → String
Stable logical task identifier retained across every attempt.
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