DescribeTargetGroupsOutput.fromXml constructor

DescribeTargetGroupsOutput.fromXml(
  1. XmlElement elem
)

Implementation

factory DescribeTargetGroupsOutput.fromXml(_s.XmlElement elem) {
  return DescribeTargetGroupsOutput(
    nextMarker: _s.extractXmlStringValue(elem, 'NextMarker'),
    targetGroups: _s.extractXmlChild(elem, 'TargetGroups')?.let((elem) => elem
        .findElements('member')
        .map((c) => TargetGroup.fromXml(c))
        .toList()),
  );
}