ListPlatformBranchesResult.fromXml constructor

ListPlatformBranchesResult.fromXml(
  1. XmlElement elem
)

Implementation

factory ListPlatformBranchesResult.fromXml(_s.XmlElement elem) {
  return ListPlatformBranchesResult(
    nextToken: _s.extractXmlStringValue(elem, 'NextToken'),
    platformBranchSummaryList: _s
        .extractXmlChild(elem, 'PlatformBranchSummaryList')
        ?.let((elem) => elem
            .findElements('member')
            .map((c) => PlatformBranchSummary.fromXml(c))
            .toList()),
  );
}