RssCategory.parse constructor

RssCategory.parse(
  1. XmlElement element
)

Implementation

factory RssCategory.parse(XmlElement element) {
  var domain = element.getAttribute('domain');
  var value = element.text;

  return RssCategory(domain, value);
}