parse static method

RssPodcastIndexLicense? parse(
  1. XmlElement? element
)

Implementation

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

  return RssPodcastIndexLicense(
    url: element.getAttribute('url'),
    license: element.innerText.toLowerCase(),
  );
}