parse static method
Parse a raw object into a SecureMessage instance.
msg is the raw message data (map, JSON string, etc.).
Returns a parsed SecureMessage instance, or null if parsing fails.
Implementation
static SecureMessage? parse(Object? msg) {
final helper = sharedMessageExtensions.secureHelper;
return helper!.parseSecureMessage(msg);
}