AssumeRoleResponse.fromXml constructor

AssumeRoleResponse.fromXml(
  1. XmlElement elem
)

Implementation

factory AssumeRoleResponse.fromXml(_s.XmlElement elem) {
  return AssumeRoleResponse(
    assumedRoleUser: _s
        .extractXmlChild(elem, 'AssumedRoleUser')
        ?.let((e) => AssumedRoleUser.fromXml(e)),
    credentials: _s
        .extractXmlChild(elem, 'Credentials')
        ?.let((e) => Credentials.fromXml(e)),
    packedPolicySize: _s.extractXmlIntValue(elem, 'PackedPolicySize'),
  );
}