copyWith method

InputPageBlockVideo copyWith({
  1. InputVideo? video,
  2. PageBlockCaption? caption,
  3. bool? hasSpoiler,
})

Implementation

InputPageBlockVideo copyWith({
  InputVideo? video,
  PageBlockCaption? caption,
  bool? hasSpoiler,
}) => InputPageBlockVideo(
  video: video ?? this.video,
  caption: caption ?? this.caption,
  hasSpoiler: hasSpoiler ?? this.hasSpoiler,
);