Deployment.fromXml constructor

Deployment.fromXml(
  1. XmlElement elem
)

Implementation

factory Deployment.fromXml(_s.XmlElement elem) {
  return Deployment(
    deploymentId: _s.extractXmlIntValue(elem, 'DeploymentId'),
    deploymentTime: _s.extractXmlDateTimeValue(elem, 'DeploymentTime'),
    status: _s.extractXmlStringValue(elem, 'Status'),
    versionLabel: _s.extractXmlStringValue(elem, 'VersionLabel'),
  );
}