DescribeTargetHealthOutput.fromXml constructor

DescribeTargetHealthOutput.fromXml(
  1. XmlElement elem
)

Implementation

factory DescribeTargetHealthOutput.fromXml(_s.XmlElement elem) {
  return DescribeTargetHealthOutput(
    targetHealthDescriptions: _s
        .extractXmlChild(elem, 'TargetHealthDescriptions')
        ?.let((elem) => elem
            .findElements('member')
            .map((c) => TargetHealthDescription.fromXml(c))
            .toList()),
  );
}