unfollowPlaylist method
Unfollows a playlist for the current user.
playlistId is the ID of the playlist to unfollow.
Requires the playlist-modify-public or playlist-modify-private scope depending on playlist visibility.
Implementation
Future<void> unfollowPlaylist(String playlistId) async {
final uri = Uri.https(
_baseApiHost,
'/v1/playlists/$playlistId/followers',
);
await _deleteJson(uri);
}