copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
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,
);