createPlaylist method
Used to create a Playlist
Parameters:
name
the playlist name.author
the playlist author. (IOS only)desc
the playlist description. (IOS only)
Important:
- This method create a playlist using
External Storage
, all apps will be able to see this playlist
Platforms:
Android | IOS | Web |
---|---|---|
✔️ |
✔️ |
❌ |
See more about platforms support
Implementation
Future<bool> createPlaylist(
String name, {
String? author,
String? desc,
}) async {
return platform.createPlaylist(
name,
author: author,
desc: desc,
);
}