AtomPerson.parse constructor

AtomPerson.parse(
  1. 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);
}