RssCategory.parse constructor

RssCategory.parse(
  1. XmlElement element
)

Implementation

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