removeFromPlaylist method Null safety

Future<bool> removeFromPlaylist(
  1. int playlistId,
  2. int audioId
)

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:

AndroidIOSWeb
✔️

See more about platforms support

Implementation

Future<bool> removeFromPlaylist(int playlistId, int audioId) async {
  return platform.removeFromPlaylist(playlistId, audioId);
}