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