parse static method
Implementation
static Status? parse(XmlElement? element) {
if (element == null) {
return null;
}
return Status(
state: element.getAttribute('state'),
reason: element.getAttribute('reason'),
);
}
static Status? parse(XmlElement? element) {
if (element == null) {
return null;
}
return Status(
state: element.getAttribute('state'),
reason: element.getAttribute('reason'),
);
}