GetFederationTokenResponse.fromXml constructor

GetFederationTokenResponse.fromXml(
  1. XmlElement elem
)

Implementation

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