Category.parse constructor

Category.parse(
  1. XmlElement element
)

Parse constructor for the Category class, used when 'parsing' a feed

Implementation

factory Category.parse(XmlElement element) => Category(
      scheme: element.getAttribute('scheme'),
      label: element.getAttribute('label'),
      value: element.text,
    );