copyWith method

InlineQueryResultVideo copyWith({
  1. String? id,
  2. Video? video,
  3. String? title,
  4. String? description,
})

Implementation

InlineQueryResultVideo copyWith({
  String? id,
  Video? video,
  String? title,
  String? description,
}) => InlineQueryResultVideo(
  id: id ?? this.id,
  video: video ?? this.video,
  title: title ?? this.title,
  description: description ?? this.description,
);