getFollowing method
Returns all friends for a user including when the relationship began.
Friendship is a 2 way relationship where each user follows the other.
id
- User slug
useOAuth
- whether to make the request using OAuth header
🔓 OAuth Optional ✨ Extended Info
Implementation
Future<List<Follower>> getFollowing(String id, {bool useOAuth = false, bool extendedFull = false}) async {
if (useOAuth) {
return await _manager._authenticatedGetList<Follower>("users/$id/following", extendedFull: extendedFull);
}
return await _manager._getList<Follower>("users/$id/following", extendedFull: extendedFull);
}