formatFetchAttributesResponse method
Implementation
List<AuthUserAttribute> formatFetchAttributesResponse(
List<Map<dynamic, dynamic>> attributeResponse) {
List<AuthUserAttribute> attributes = [];
attributeResponse.forEach((element) {
attributes.add(AuthUserAttribute(
userAttributeKey: CognitoUserAttributeKey.parse(element["key"]),
value: element["value"],
));
});
return attributes;
}