getUserFollowedUsers method
Endpoint used: GET /user/follows/user
Returns a UserFollowedUsers
class instance with details of the all the Users that the user follows,
the sessionToken
is the session token obtained using the login() function
Implementation
Future<UserFollowedUsers> getUserFollowedUsers(String sessionToken,
{int? offset, int? limit}) async {
var response = await getUserFollowedUsersResponse(sessionToken,
offset: offset, limit: limit);
try {
return UserFollowedUsers.fromJson(jsonDecode(response.body));
} on Exception {
throw MangadexServerException(jsonDecode(response.body));
}
}