getUserSettingsProfileImage function
Future<ApiResponse<UserSettingsProfileImage> >
getUserSettingsProfileImage(
- ExsitedClient client,
- Object userId, {
- bool? raiseOnError,
- String? responseFormat,
GET /api/{api_version}/user_settings/{user_id}/profile_image
Read a user's profile image; base64 is the image without a data URI
prefix, and empty when the read has none to serve.
Implementation
Future<ApiResponse<UserSettingsProfileImage>> getUserSettingsProfileImage(
ExsitedClient client,
Object userId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(UserSettingsUrls.userSettingsProfileImage,
pathParams: {'user_id': userId},
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: UserSettingsProfileImage.fromMap);