copyWith method
Implementation
BetterVideoPlayerConfiguration copyWith({
bool? autoPlay,
bool? looping,
Widget? placeholder,
bool? allowedScreenSleep,
bool? autoPlayWhenResume,
Widget? controls,
Widget? fullScreenControls,
}) {
return BetterVideoPlayerConfiguration(
autoPlay: autoPlay ?? this.autoPlay,
looping: looping ?? this.looping,
placeholder: placeholder ?? this.placeholder,
allowedScreenSleep: allowedScreenSleep ?? this.allowedScreenSleep,
autoPlayWhenResume: autoPlayWhenResume ?? this.autoPlayWhenResume,
controls: controls ?? this.controls,
fullScreenControls: fullScreenControls ?? this.fullScreenControls,
);
}