AutoScalingInstancesType.fromXml constructor

AutoScalingInstancesType.fromXml(
  1. XmlElement elem
)

Implementation

factory AutoScalingInstancesType.fromXml(_s.XmlElement elem) {
  return AutoScalingInstancesType(
    autoScalingInstances: _s
        .extractXmlChild(elem, 'AutoScalingInstances')
        ?.let((elem) => elem
            .findElements('member')
            .map((c) => AutoScalingInstanceDetails.fromXml(c))
            .toList()),
    nextToken: _s.extractXmlStringValue(elem, 'NextToken'),
  );
}