Rss1Item.parse constructor

Rss1Item.parse(
  1. XmlElement element
)

Implementation

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