deserialize static method
Implementation
static CancelledException? deserialize(List data) =>
(data[_$type] == _$typeMarker)
? CancelledException(
message: data[_$message],
stackTrace: SquadronException.loadStackTrace(data[_$stackTrace]),
workerId: data[_$workerId],
command: data[_$command])
: null;