DescribeEndPointStateOutput.fromXml constructor

DescribeEndPointStateOutput.fromXml(
  1. XmlElement elem
)

Implementation

factory DescribeEndPointStateOutput.fromXml(_s.XmlElement elem) {
  return DescribeEndPointStateOutput(
    instanceStates: _s.extractXmlChild(elem, 'InstanceStates')?.let((elem) =>
        elem
            .findElements('member')
            .map((c) => InstanceState.fromXml(c))
            .toList()),
  );
}