BetterPlayerPlaylistController constructor

BetterPlayerPlaylistController(
  1. List<BetterPlayerDataSource> _betterPlayerDataSourceList,
  2. {BetterPlayerConfiguration betterPlayerConfiguration = const BetterPlayerConfiguration(),
  3. BetterPlayerPlaylistConfiguration betterPlayerPlaylistConfiguration = const BetterPlayerPlaylistConfiguration()}
)

Implementation

BetterPlayerPlaylistController(
  this._betterPlayerDataSourceList, {
  this.betterPlayerConfiguration = const BetterPlayerConfiguration(),
  this.betterPlayerPlaylistConfiguration =
      const BetterPlayerPlaylistConfiguration(),
}) : assert(_betterPlayerDataSourceList.isNotEmpty,
          "Better Player data source list can't be empty") {
  _setup();
}