parse static method

RssItunesImage? parse(
  1. XmlElement? element
)

Implementation

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

  return RssItunesImage(
    href: element.getAttribute('href')?.trim(),
  );
}