parse static method
Implementation
static Rating? parse(XmlElement? element) {
if (element == null) {
return null;
}
return Rating(
scheme: element.getAttribute('scheme'),
value: element.innerText,
);
}
static Rating? parse(XmlElement? element) {
if (element == null) {
return null;
}
return Rating(
scheme: element.getAttribute('scheme'),
value: element.innerText,
);
}