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