removeFromPlaylist method
Used to remove a specific song/audio from a specific Playlist
Parameters:
playlistId
is used to check if Playlist exist.audioId
is used to remove specific audio from Playlist.
Platforms:
Android | IOS | Web |
---|---|---|
✔️ |
❌ |
❌ |
See more about platforms support
Implementation
@override
Future<bool> removeFromPlaylist(int playlistId, int audioId) async {
final bool resultRemoveFromPl = await _channel.invokeMethod(
"removeFromPlaylist",
{
"playlistId": playlistId,
"audioId": audioId,
},
);
return resultRemoveFromPl;
}