standardAttributes property
Map<CognitoUserAttributeKey, Object>
standardAttributes
Standard Cognito user pool attributes.
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]!)),
);