CognitoUserPoolData.fromData constructor
CognitoUserPoolData.fromData(
- CognitoUser user,
- Map<
String, dynamic> parsedJson
Implementation
factory CognitoUserPoolData.fromData(
CognitoUser user, Map<String, dynamic> parsedJson) {
return CognitoUserPoolData(
user,
userConfirmed: parsedJson['UserConfirmed'] ?? false,
userSub: parsedJson['UserSub'],
);
}