JobManifest.fromXml constructor

JobManifest.fromXml(
  1. XmlElement elem
)

Implementation

factory JobManifest.fromXml(_s.XmlElement elem) {
  return JobManifest(
    location:
        JobManifestLocation.fromXml(_s.extractXmlChild(elem, 'Location')!),
    spec: JobManifestSpec.fromXml(_s.extractXmlChild(elem, 'Spec')!),
  );
}