getProfileImage method
Get user's profile image
Get a user's profile image based on user_id string parameter. ##### Permissions Must be logged in.
Parameters:
Implementation
Future<void> getProfileImage(
String userId, {
num? q,
}) async {
final response = await getProfileImageWithHttpInfo(
userId,
q: q,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
}
}