User.fromXml constructor
User.fromXml(
- XmlElement elem
Implementation
factory User.fromXml(_s.XmlElement elem) {
return User(
arn: _s.extractXmlStringValue(elem, 'ARN'),
accessString: _s.extractXmlStringValue(elem, 'AccessString'),
authentication: _s
.extractXmlChild(elem, 'Authentication')
?.let((e) => Authentication.fromXml(e)),
engine: _s.extractXmlStringValue(elem, 'Engine'),
status: _s.extractXmlStringValue(elem, 'Status'),
userGroupIds: _s
.extractXmlChild(elem, 'UserGroupIds')
?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
userId: _s.extractXmlStringValue(elem, 'UserId'),
userName: _s.extractXmlStringValue(elem, 'UserName'),
);
}