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