Job.fromXml constructor
Job.fromXml(
- XmlElement elem
Implementation
factory Job.fromXml(_s.XmlElement elem) {
return Job(
creationDate: _s.extractXmlDateTimeValue(elem, 'CreationDate'),
isCanceled: _s.extractXmlBoolValue(elem, 'IsCanceled'),
jobId: _s.extractXmlStringValue(elem, 'JobId'),
jobType: _s.extractXmlStringValue(elem, 'JobType')?.toJobType(),
);
}