Rating.parse constructor

Rating.parse(
  1. XmlElement element
)

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

Implementation

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