parse static method
Implementation
static AtomSource? parse(XmlElement? element) {
if (element == null) {
return null;
}
final id = findElementOrNull(element, 'id')?.innerText;
final title = findElementOrNull(element, 'title')?.innerText;
final updated = findElementOrNull(element, 'updated')?.innerText;
return AtomSource(id, title, updated);
}