RssCategory.parse constructor

RssCategory.parse(
  1. XmlElement element
)

Implementation

factory RssCategory.parse(XmlElement element) {
  final domain = element.getAttribute('domain');
  final value = element.innerText;
  return RssCategory(domain, value);
}