CognitoAuthUser class
A Cognito user, including details of how they signed in.
Constructors
- CognitoAuthUser({required String userId, required String username, required CognitoSignInDetails signInDetails})
-
A Cognito user, including details of how they signed in.
const
-
CognitoAuthUser.fromJson(Map<
String, Object?> json) -
A Cognito user, including details of how they signed in.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
The type's equatable properties.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- runtimeTypeName → String
-
The string value of runtimeType, saving a runtime lookup and preventing
obfuscation during web compilation.
no setteroverride
- signInDetails → CognitoSignInDetails
-
no setteroverride
- userId → String
-
finalinherited
- username → String
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
Serializes
this
as a JSON object.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited