parse static method

RssItunesOwner? parse(
  1. XmlElement? element
)

Implementation

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

  return RssItunesOwner(
    name: findElementOrNull(element, 'itunes:name')?.innerText.trim(),
    email: findElementOrNull(element, 'itunes:email')?.innerText.trim(),
  );
}