BetterPlayerPlaylistController constructor
BetterPlayerPlaylistController(
- List<
BetterPlayerDataSource> _betterPlayerDataSourceList, { - BetterPlayerConfiguration betterPlayerConfiguration = const BetterPlayerConfiguration(),
- 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();
}