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: Serialized envelope data in the Map format defined in Envelope
Returns: Envelope instance if parsing/validation succeeds, null otherwise
Implementation
Envelope? parseEnvelope(Mapping env);