saveAlbums method
Save albums for the current-user. It requires the
user-library-modify
scope of Spotify WebSDK
ids
- the ids of the albums
Implementation
Future<void> saveAlbums(List<String> ids) async {
assert(ids.isNotEmpty, 'No album ids were provided for saving');
await _api._put('$_path/albums?ids=${ids.join(",")}');
}