UsernameType enum
The type of username input field presented to the user.
Depending on your Cognito configuration, users will be required to either create a unique username, or sign up with an email or phone number.
Constructors
- UsernameType()
-
const
Values
- username → const UsernameType
-
The user's chosen username.
- email → const UsernameType
-
The user's email address, corresponding to their
CognitoUserAttributeKey.email
attribute value. - phoneNumber → const UsernameType
-
The user's email address, corresponding to their
CognitoUserAttributeKey.phoneNumber
attribute value.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
UsernameType> - A constant List of the values in this enum, in order of their declaration.