parse static method

RssPodcastIndexRemoteItem? parse(
  1. XmlElement? element
)

Implementation

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

  return RssPodcastIndexRemoteItem(
    feedGuid: element.getAttribute('feedGuid') ?? '',
    feedUrl: element.getAttribute('feedUrl'),
    itemGuid: element.getAttribute('itemGuid'),
    medium: element.getAttribute('medium'),
  );
}