ItunesOwner.parse constructor

ItunesOwner.parse(
  1. XmlElement element
)

Parse constructor for the ItunesOwner class, used when 'parsing' a feed

Implementation

factory ItunesOwner.parse(XmlElement element) => ItunesOwner(
      name: element.findElements('itunes:name').firstOrNull?.text.trim(),
      email: element.findElements('itunes:email').firstOrNull?.text.trim(),
    );