Description.parse constructor

Description.parse(
  1. XmlElement element
)

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

Implementation

factory Description.parse(XmlElement element) => Description(
      type: element.getAttribute('type'),
      value: element.innerText,
    );