getUserProfile method
Implementation
Future<UserProfile> getUserProfile(String username) async {
var url = '/user/$username/profile';
var response = await _getResponse(url);
return UserProfile.fromJson(response);
}
Future<UserProfile> getUserProfile(String username) async {
var url = '/user/$username/profile';
var response = await _getResponse(url);
return UserProfile.fromJson(response);
}