GetRolePolicyResponse.fromXml constructor

GetRolePolicyResponse.fromXml(
  1. XmlElement elem
)

Implementation

factory GetRolePolicyResponse.fromXml(_s.XmlElement elem) {
  return GetRolePolicyResponse(
    policyDocument: _s.extractXmlStringValue(elem, 'PolicyDocument')!,
    policyName: _s.extractXmlStringValue(elem, 'PolicyName')!,
    roleName: _s.extractXmlStringValue(elem, 'RoleName')!,
  );
}