unfollowPlaylist method

Future<void> unfollowPlaylist(
  1. String playlistId
)

unfollow a certain private/public playlist

it requires playlist-modify-public & playlist-modify-private scopes

playlistId - the playlist ID

Implementation

Future<void> unfollowPlaylist(String playlistId) async {
  final url = 'v1/playlists/$playlistId/followers';
  await _api._delete(url);
}