renamePlaylist method
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
@override
Future<bool> renamePlaylist(int playlistId, String newName) async {
final bool resultRenamePl = await _channel.invokeMethod(
"renamePlaylist",
{
"playlistId": playlistId,
"newPlName": newName,
},
);
return resultRenamePl;
}