parse static method

RssPodcastIndexChapters? parse(
  1. XmlElement? element
)

Implementation

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

  return RssPodcastIndexChapters(
    url: element.getAttribute('url'),
    type: element.getAttribute('type'),
  );
}