RssImage.parse constructor

RssImage.parse(
  1. XmlElement element
)

Parse constructor for the RssImage class, used when 'parsing' a feed

Implementation

factory RssImage.parse(XmlElement element) => RssImage(
      title: element.findElements('title').firstOrNull?.text,
      url: element.findElements('url').firstOrNull?.text,
      link: element.findElements('link').firstOrNull?.text,
    );