UserGroup.fromXml constructor
UserGroup.fromXml(
- XmlElement elem
Implementation
factory UserGroup.fromXml(_s.XmlElement elem) {
return UserGroup(
arn: _s.extractXmlStringValue(elem, 'ARN'),
engine: _s.extractXmlStringValue(elem, 'Engine'),
pendingChanges: _s
.extractXmlChild(elem, 'PendingChanges')
?.let((e) => UserGroupPendingChanges.fromXml(e)),
replicationGroups: _s
.extractXmlChild(elem, 'ReplicationGroups')
?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
status: _s.extractXmlStringValue(elem, 'Status'),
userGroupId: _s.extractXmlStringValue(elem, 'UserGroupId'),
userIds: _s
.extractXmlChild(elem, 'UserIds')
?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
);
}