Rating.fromXml constructor
Rating.fromXml(
- XmlElement node
Creates a new Rating object from an XmlElement
Implementation
factory Rating.fromXml(XmlElement node) {
return Rating(node.innerText, node.getAttribute('scheme'));
}