AtomPerson.parse constructor
AtomPerson.parse(
- XmlElement element
Parse constructor for the AtomPerson class, used when 'parsing' a feed
Implementation
factory AtomPerson.parse(XmlElement element) => AtomPerson(
name: element.findElements('name').firstOrNull?.innerText,
uri: element.findElements('uri').firstOrNull?.innerText,
email: element.findElements('email').firstOrNull?.innerText,
);