copyWith method

  1. @override
InlineQueryResultDocument copyWith({
  1. String? id,
  2. Document? document,
  3. String? title,
  4. String? description,
})
override

Implementation

@override
InlineQueryResultDocument copyWith({
  String? id,
  Document? document,
  String? title,
  String? description,
}) => InlineQueryResultDocument(
  id: id ?? this.id,
  document: document ?? this.document,
  title: title ?? this.title,
  description: description ?? this.description,
);