copyWith method

PodPlayerConfig copyWith({
  1. bool? autoPlay,
  2. bool? isLooping,
  3. bool? forcedVideoFocus,
  4. bool? wakelockEnabled,
  5. bool? isLive,
  6. List<int>? videoQualityPriority,
})

Implementation

PodPlayerConfig copyWith({
  bool? autoPlay,
  bool? isLooping,
  bool? forcedVideoFocus,
  bool? wakelockEnabled,
  bool? isLive,
  List<int>? videoQualityPriority,
}) {
  return PodPlayerConfig(
    autoPlay: autoPlay ?? this.autoPlay,
    isLooping: isLooping ?? this.isLooping,
    isLive: isLive??this.isLive,
    forcedVideoFocus: forcedVideoFocus ?? this.forcedVideoFocus,
    wakelockEnabled: wakelockEnabled ?? this.wakelockEnabled,
    videoQualityPriority: videoQualityPriority ?? this.videoQualityPriority,
  );
}