AtomPerson.parse constructor

AtomPerson.parse(
  1. 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?.text,
      uri: element.findElements('uri').firstOrNull?.text,
      email: element.findElements('email').firstOrNull?.text,
    );