JobListDescriptor.fromXml constructor
JobListDescriptor.fromXml(
- XmlElement elem
Implementation
factory JobListDescriptor.fromXml(_s.XmlElement elem) {
return JobListDescriptor(
creationTime: _s.extractXmlDateTimeValue(elem, 'CreationTime'),
description: _s.extractXmlStringValue(elem, 'Description'),
jobId: _s.extractXmlStringValue(elem, 'JobId'),
operation: _s.extractXmlStringValue(elem, 'Operation')?.toOperationName(),
priority: _s.extractXmlIntValue(elem, 'Priority'),
progressSummary: _s
.extractXmlChild(elem, 'ProgressSummary')
?.let((e) => JobProgressSummary.fromXml(e)),
status: _s.extractXmlStringValue(elem, 'Status')?.toJobStatus(),
terminationDate: _s.extractXmlDateTimeValue(elem, 'TerminationDate'),
);
}