unfollowArtists method
Unfollows one or more artists for the current user.
artistIds is a list of Spotify artist IDs to unfollow.
Requires the user-follow-modify scope.
Implementation
Future<void> unfollowArtists(List<String> artistIds) async {
final uri = Uri.https(
_baseApiHost,
'/v1/me/following',
{
'type': 'artist',
'ids': artistIds.join(','),
},
);
await _deleteJson(uri);
}