parse static method

RssPodcastIndex? parse(
  1. XmlElement? element
)

Implementation

static RssPodcastIndex? parse(XmlElement? element) {
  if (element == null) {
    return null;
  }

  return RssPodcastIndex(
    funding: element.findElements('podcast:funding').map((e) {
      return RssPodcastIndexFunding.parse(e);
    }).toList(),
    locked: RssPodcastIndexLocked.parse(findElementOrNull(element, 'podcast:locked')),
  );
}