parse static method

RssPodcastIndexTranscript? parse(
  1. XmlElement? element
)

Implementation

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

  return RssPodcastIndexTranscript(
    url: element.getAttribute('url'),
    type: element.getAttribute('type'),
    language: element.getAttribute('language'),
    rel: element.getAttribute('rel'),
  );
}