CloudWatchDimensionConfiguration.fromXml constructor

CloudWatchDimensionConfiguration.fromXml(
  1. XmlElement elem
)

Implementation

factory CloudWatchDimensionConfiguration.fromXml(_s.XmlElement elem) {
  return CloudWatchDimensionConfiguration(
    defaultDimensionValue:
        _s.extractXmlStringValue(elem, 'DefaultDimensionValue')!,
    dimensionName: _s.extractXmlStringValue(elem, 'DimensionName')!,
    dimensionValueSource: _s
        .extractXmlStringValue(elem, 'DimensionValueSource')!
        .toDimensionValueSource(),
  );
}