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