copyWith method

  1. @override
MessageVideo copyWith({
  1. Video? video,
  2. FormattedText? caption,
  3. bool? isSecret,
})
override

Implementation

@override
MessageVideo copyWith({
  Video? video,
  FormattedText? caption,
  bool? isSecret,
}) => MessageVideo(
  video: video ?? this.video,
  caption: caption ?? this.caption,
  isSecret: isSecret ?? this.isSecret,
);