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