open method

Future<void> open({
  1. required List<String> medias,
  2. bool play = true,
  3. bool evictCache = true,
})

Implementation

Future<void> open({
  required List<String> medias,
  bool play = true,
  bool evictCache = true,
}) async {
  await player.open(
    Playlist(
      medias.map((e) => Media(e)).toList().cast<Media>(),
    ),
    play: play,
    // evictExtrasCache: evictCache,
  );
  return;
}