ChangeInfo.fromXml constructor

ChangeInfo.fromXml(
  1. XmlElement elem
)

Implementation

factory ChangeInfo.fromXml(_s.XmlElement elem) {
  return ChangeInfo(
    id: _s.extractXmlStringValue(elem, 'Id')!,
    status: _s.extractXmlStringValue(elem, 'Status')!.toChangeStatus(),
    submittedAt: _s.extractXmlDateTimeValue(elem, 'SubmittedAt')!,
    comment: _s.extractXmlStringValue(elem, 'Comment'),
  );
}