PolicyGrantingServiceAccess.fromXml constructor
PolicyGrantingServiceAccess.fromXml(
- XmlElement elem
Implementation
factory PolicyGrantingServiceAccess.fromXml(_s.XmlElement elem) {
return PolicyGrantingServiceAccess(
policyName: _s.extractXmlStringValue(elem, 'PolicyName')!,
policyType: _s.extractXmlStringValue(elem, 'PolicyType')!.toPolicyType(),
entityName: _s.extractXmlStringValue(elem, 'EntityName'),
entityType: _s
.extractXmlStringValue(elem, 'EntityType')
?.toPolicyOwnerEntityType(),
policyArn: _s.extractXmlStringValue(elem, 'PolicyArn'),
);
}