DeploymentTargets.fromXml constructor

DeploymentTargets.fromXml(
  1. XmlElement elem
)

Implementation

factory DeploymentTargets.fromXml(_s.XmlElement elem) {
  return DeploymentTargets(
    accounts: _s
        .extractXmlChild(elem, 'Accounts')
        ?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
    organizationalUnitIds: _s
        .extractXmlChild(elem, 'OrganizationalUnitIds')
        ?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
  );
}