AtomPerson.parse constructor
AtomPerson.parse(
- XmlElement element
Implementation
factory AtomPerson.parse(XmlElement element) {
final name = findElementOrNull(element, 'name')?.innerText;
final uri = findElementOrNull(element, 'uri')?.innerText;
final email = findElementOrNull(element, 'email')?.innerText;
return AtomPerson(name, uri, email);
}