Status.parse constructor

Status.parse(
  1. XmlElement element
)

Implementation

factory Status.parse(XmlElement element) {
  return Status(
    state: element.getAttribute('state'),
    reason: element.getAttribute('reason'),
  );
}