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