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