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