parseEnvelope abstract method
Parses raw envelope data into a strongly-typed Envelope instance.
Converts arbitrary raw envelope data (e.g., map, JSON string) into a valid Envelope object for consistent message routing.
@param env - Raw envelope data to parse
@return Parsed Envelope instance (null if parsing fails)
Implementation
Envelope? parseEnvelope(Object? env);