CancelledException class

Exception to keep track of task cancellation.

Inheritance
Implementers

Constructors

CancelledException({String? message, StackTrace? stackTrace, String? workerId, int? command})

Properties

command int?
Command.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
message String
Message.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
Stack trace associated to the original exception.
no setterinherited
workerId String?
Worker ID.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() List
Serializes the exception, i.e. returns a list of items that can cross thread boundaries.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

deserialize(List data) CancelledException?
Deserializes a List that was produced by serialize.
override