PolicyARNType.fromXml constructor

PolicyARNType.fromXml(
  1. XmlElement elem
)

Implementation

factory PolicyARNType.fromXml(_s.XmlElement elem) {
  return PolicyARNType(
    alarms: _s.extractXmlChild(elem, 'Alarms')?.let((elem) =>
        elem.findElements('member').map((c) => Alarm.fromXml(c)).toList()),
    policyARN: _s.extractXmlStringValue(elem, 'PolicyARN'),
  );
}