ListSubscriptionsResponse.fromXml constructor

ListSubscriptionsResponse.fromXml(
  1. XmlElement elem
)

Implementation

factory ListSubscriptionsResponse.fromXml(_s.XmlElement elem) {
  return ListSubscriptionsResponse(
    nextToken: _s.extractXmlStringValue(elem, 'NextToken'),
    subscriptions: _s.extractXmlChild(elem, 'Subscriptions')?.let((elem) =>
        elem
            .findElements('member')
            .map((c) => Subscription.fromXml(c))
            .toList()),
  );
}