parse static method
Implementation
static AtomGenerator? parse(XmlElement? element) {
if (element == null) {
return null;
}
final uri = element.getAttribute('uri');
final version = element.getAttribute('version');
final value = element.innerText;
return AtomGenerator(uri, version, value);
}