RssSource.parse constructor

RssSource.parse(
  1. XmlElement element
)

Implementation

factory RssSource.parse(XmlElement element) {
  var url = element.getAttribute('url');
  var value = element.innerText;

  return RssSource(url, value);
}