standardAttributes property

Map<CognitoUserAttributeKey, Object> standardAttributes

Standard Cognito user pool attributes.

Reference

Implementation

Map<CognitoUserAttributeKey, Object> get standardAttributes =>
    Map.fromEntries(
      CognitoUserAttributeKey.values
          .where((key) => claims.customClaims.containsKey(key.key))
          .map((key) => MapEntry(key, claims.customClaims[key.key]!)),
    );