parse static method

RssPodcastIndexLocked? parse(
  1. XmlElement? element
)

Implementation

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

  return RssPodcastIndexLocked(
    owner: element.getAttribute('owner'),
    locked: element.innerText.toLowerCase() == 'yes' ? true : false,
  );
}