Rss1Item.parse constructor

Rss1Item.parse(
  1. XmlElement element
)

Implementation

factory Rss1Item.parse(XmlElement element) {
  return Rss1Item(
    title: findElementOrNull(element, 'title')?.innerText,
    description: findElementOrNull(element, 'description')?.innerText,
    link: findElementOrNull(element, 'link')?.innerText,
    dc: DublinCore.parse(element),
    content: RssContent.parse(findElementOrNull(element, 'content:encoded')),
  );
}