removeAlbums method

Future<void> removeAlbums(
  1. List<String> ids
)

Remove albums for the current-user. It requires the user-library-modify scope of Spotify WebSDK
ids - the ids of the albums

Implementation

Future<void> removeAlbums(List<String> ids) async {
  assert(ids.isNotEmpty, 'No album ids were provided for removing');
  await _api._delete('$_path/albums?ids=${ids.join(",")}');
}