CreateTargetGroupOutput.fromXml constructor

CreateTargetGroupOutput.fromXml(
  1. XmlElement elem
)

Implementation

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