addToPlaylist method
Used to add a specific song/audio to a specific Playlist
Parameters:
playlistIdis used to check if Playlist exist.audioIdis used to add specific audio to Playlist.
Platforms:
| Android | IOS | Web |
|---|---|---|
✔️ |
✔️ |
❌ |
See more about platforms support
Implementation
Future<bool> addToPlaylist(int playlistId, int audioId) async {
return platform.addToPlaylist(playlistId, audioId);
}