AlarmIdentifier.fromXml constructor

AlarmIdentifier.fromXml(
  1. XmlElement elem
)

Implementation

factory AlarmIdentifier.fromXml(_s.XmlElement elem) {
  return AlarmIdentifier(
    name: _s.extractXmlStringValue(elem, 'Name')!,
    region: _s.extractXmlStringValue(elem, 'Region')!.toCloudWatchRegion(),
  );
}