copyWith method

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

Implementation

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