Rating.parse constructor

Rating.parse(
  1. XmlElement element
)

Implementation

factory Rating.parse(XmlElement element) {
  return Rating(
    scheme: element.getAttribute('scheme'),
    value: element.text,
  );
}