copyWith method

  1. @override
PageBlockVideo copyWith({
  1. Video? video,
  2. PageBlockCaption? caption,
  3. bool? needAutoplay,
  4. bool? isLooped,
})
override

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,
    );