copyWith method
Implementation
WebPlayerValue copyWith({
double? currentTime,
double? duration,
double? bufferedPercent,
bool? isPaused,
bool? isFullScreen,
bool? isInPictureInPicture,
bool? isTracking,
}) {
return WebPlayerValue(
currentTime ?? this.currentTime,
duration ?? this.duration,
bufferedPercent ?? this.bufferedPercent,
isPaused ?? this.isPaused,
isFullScreen ?? this.isFullScreen,
isInPictureInPicture ?? this.isInPictureInPicture,
isTracking ?? this.isTracking,
);
}