parse static method
Implementation
static RssContent? parse(XmlElement? element) {
if (element == null) {
return null;
}
final content = element.innerText;
final images = <String>[];
_imagesRegExp.allMatches(content).forEach((match) {
final matchGroup = match.group(1);
if (matchGroup != null) images.add(matchGroup);
});
return RssContent(content, images);
}