getUserFriends method
Implementation
Future<BuiltList<Friend>> getUserFriends(String username,
{int page = 1}) async {
var url = '/user/$username/friends/$page';
var response = await _getResponse(url);
final friends = response['friends'] ?? [];
return serializers.deserialize(friends, specifiedType: _fullType(Friend))!
as BuiltList<Friend>;
}