AtomGenerator.parse constructor
AtomGenerator.parse(
- XmlElement element
Parse constructor for the AtomGenerator class, used when 'parsing' a feed
Implementation
factory AtomGenerator.parse(XmlElement element) {
final uri = element.getAttribute('uri');
final version = element.getAttribute('version');
final value = element.innerText;
return AtomGenerator(uri, version, value);
}