ListTopicsResponse.fromXml constructor

ListTopicsResponse.fromXml(
  1. XmlElement elem
)

Implementation

factory ListTopicsResponse.fromXml(_s.XmlElement elem) {
  return ListTopicsResponse(
    nextToken: _s.extractXmlStringValue(elem, 'NextToken'),
    topics: _s.extractXmlChild(elem, 'Topics')?.let((elem) =>
        elem.findElements('member').map((c) => Topic.fromXml(c)).toList()),
  );
}