copyWith method

  1. @override
InlineQueryResultArticle copyWith({
  1. String? id,
  2. String? url,
  3. bool? hideUrl,
  4. String? title,
  5. String? description,
  6. Thumbnail? thumbnail,
})
override

Implementation

@override
InlineQueryResultArticle copyWith({
  String? id,
  String? url,
  bool? hideUrl,
  String? title,
  String? description,
  Thumbnail? thumbnail,
}) =>
    InlineQueryResultArticle(
      id: id ?? this.id,
      url: url ?? this.url,
      hideUrl: hideUrl ?? this.hideUrl,
      title: title ?? this.title,
      description: description ?? this.description,
      thumbnail: thumbnail ?? this.thumbnail,
    );