UpdateJobOutput.fromXml constructor

UpdateJobOutput.fromXml(
  1. XmlElement elem
)

Implementation

factory UpdateJobOutput.fromXml(_s.XmlElement elem) {
  return UpdateJobOutput(
    artifactList: _s.extractXmlChild(elem, 'ArtifactList')?.let((elem) =>
        elem.findElements('member').map((c) => Artifact.fromXml(c)).toList()),
    success: _s.extractXmlBoolValue(elem, 'Success'),
    warningMessage: _s.extractXmlStringValue(elem, 'WarningMessage'),
  );
}