RssImage.parse constructor
RssImage.parse(
- XmlElement element,
- bool parseHtml
Parse constructor for the RssImage class, used when 'parsing' a feed
Implementation
factory RssImage.parse(XmlElement element, bool parseHtml) => RssImage(
title: element.findElements('title').firstOrNull?.parseText(parseHtml),
url: element.findElements('url').firstOrNull?.innerText,
link: element.findElements('link').firstOrNull?.innerText,
);