CognitoUserAttributeKey.custom constructor

const CognitoUserAttributeKey.custom(
  1. String key
)

Creates a custom Cognito attribute.

Implementation

const CognitoUserAttributeKey.custom(String key)
    : key = '$_customPrefix$key',
      readOnly = false;