parseEnvelope abstract method
Parses a serialized Map into an Envelope instance.
Validates the structure and converts raw values (e.g., Unix timestamp → DateTime) to the proper types defined in the Envelope interface.
env is the serialized envelope data in the Map format defined in Envelope.
Returns an Envelope instance if parsing/validation succeeds, null otherwise.
Implementation
Envelope? parseEnvelope(Mapping env);