renamePlaylist method

Future<bool> renamePlaylist(
  1. int playlistId,
  2. String newName
)

Used to rename a specific Playlist

Parameters:

  • playlistId is used to check if Playlist exist.
  • newName is used to add a new name to a Playlist.

Platforms:

Android IOS Web
✔️

See more about platforms support

Implementation

Future<bool> renamePlaylist(int playlistId, String newName) async {
  return renamePlaylist(playlistId, newName);
}