addToPlaylist method

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

Used to add a specific song/audio to a specific Playlist

Parameters:

  • playlistId is used to check if Playlist exist.
  • audioId is used to add specific audio to Playlist.

Platforms:

Android IOS Web
✔️ ✔️

See more about platforms support

Implementation

Future<bool> addToPlaylist(int playlistId, int audioId) {
  throw UnimplementedError('addToPlaylist() has not been implemented.');
}