ActivitiesType.fromXml constructor

ActivitiesType.fromXml(
  1. XmlElement elem
)

Implementation

factory ActivitiesType.fromXml(_s.XmlElement elem) {
  return ActivitiesType(
    activities: _s
        .extractXmlChild(elem, 'Activities')!
        .findElements('member')
        .map((c) => Activity.fromXml(c))
        .toList(),
    nextToken: _s.extractXmlStringValue(elem, 'NextToken'),
  );
}