deserialize static method

CancelledException? deserialize(
  1. List data
)
override

Deserializes a List that was produced by serialize.

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;