decodeNamed method
Decodes a payload previously encoded under name.
Returns null for an unknown name, which happens when a job outlives the code that could read it — the caller decides whether that is a dead-letter or a deploy skew to wait out.
Implementation
DVJobPayload? decodeNamed(String name, Map<String, Object?> json) =>
_byName[name]?.decode(json);