RssSource.parse constructor
RssSource.parse(
- XmlElement element
Parse constructor for the RssSource class, used when 'parsing' a feed
Implementation
factory RssSource.parse(XmlElement element) {
final url = element.getAttribute('url');
final value = element.text;
return RssSource(url, value);
}