copyWith method
Implementation
@override
PageBlockVideo copyWith({
Video? video,
PageBlockCaption? caption,
bool? needAutoplay,
bool? isLooped,
}) =>
PageBlockVideo(
video: video ?? this.video,
caption: caption ?? this.caption,
needAutoplay: needAutoplay ?? this.needAutoplay,
isLooped: isLooped ?? this.isLooped,
);