getUserProfile method

Future<UserProfile> getUserProfile(
  1. String username
)

Implementation

Future<UserProfile> getUserProfile(String username) async {
  var url = '/user/$username/profile';
  var response = await _getResponse(url);

  return UserProfile.fromJson(response);
}