Status.parse constructor

Status.parse(
  1. XmlElement element
)

Parse constructor for the Status class, used when 'parsing' a feed

Implementation

factory Status.parse(XmlElement element) => Status(
      state: element.getAttribute('state'),
      reason: element.getAttribute('reason'),
    );