ListUsersResponse.fromXml constructor

ListUsersResponse.fromXml(
  1. XmlElement elem
)

Implementation

factory ListUsersResponse.fromXml(_s.XmlElement elem) {
  return ListUsersResponse(
    users: _s
        .extractXmlChild(elem, 'Users')!
        .findElements('member')
        .map((c) => User.fromXml(c))
        .toList(),
    isTruncated: _s.extractXmlBoolValue(elem, 'IsTruncated'),
    marker: _s.extractXmlStringValue(elem, 'Marker'),
  );
}