AtomSource.parse constructor

AtomSource.parse(
  1. XmlElement element
)

Implementation

factory AtomSource.parse(XmlElement element) {
  return AtomSource(
    id: element.findElements('id').firstOrNull?.value,
    title: element.findElements('title').firstOrNull?.value,
    updated: element.findElements('updated').firstOrNull?.value,
  );
}