moveItemTo method

Future<bool> moveItemTo(
  1. int playlistId,
  2. int from,
  3. int to
)

Used to change song/audio position from a specific Playlist

Parameters:

  • playlistId is used to check if Playlist exist.
  • from is the old position from a audio/song.
  • to is the new position from a audio/song.

Platforms:

Android IOS Web
✔️

See more about platforms support

Implementation

Future<bool> moveItemTo(int playlistId, int from, int to) async {
  return platform.moveItemTo(playlistId, from, to);
}