updateProfile method
Save or modify user's additional information provided in User class.
Check the savable key name in Kakao Developers > Kakao Login > User Properties menu. The nickname, profile_image, and thumbnail_image values that are saved by default when connecting the app can be overwritten, and information can be saved with the key name by adding a new column.
Implementation
Future<void> updateProfile(Map<String, String> properties) {
return ApiFactory.handleApiError(() async {
Response response = await _dio.post('/v1/user/update_profile',
data: {'properties': jsonEncode(properties)});
print(response);
});
}