ListPlatformVersionsResult.fromXml constructor

ListPlatformVersionsResult.fromXml(
  1. XmlElement elem
)

Implementation

factory ListPlatformVersionsResult.fromXml(_s.XmlElement elem) {
  return ListPlatformVersionsResult(
    nextToken: _s.extractXmlStringValue(elem, 'NextToken'),
    platformSummaryList: _s.extractXmlChild(elem, 'PlatformSummaryList')?.let(
        (elem) => elem
            .findElements('member')
            .map((c) => PlatformSummary.fromXml(c))
            .toList()),
  );
}