copyWith method

  1. @override
InputInlineQueryResultVenue copyWith({
  1. String? id,
  2. Venue? venue,
  3. String? thumbnailUrl,
  4. int? thumbnailWidth,
  5. int? thumbnailHeight,
  6. ReplyMarkup? replyMarkup,
  7. InputMessageContent? inputMessageContent,
})
override

Implementation

@override
InputInlineQueryResultVenue copyWith({
  String? id,
  Venue? venue,
  String? thumbnailUrl,
  int? thumbnailWidth,
  int? thumbnailHeight,
  ReplyMarkup? replyMarkup,
  InputMessageContent? inputMessageContent,
}) =>
    InputInlineQueryResultVenue(
      id: id ?? this.id,
      venue: venue ?? this.venue,
      thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
      thumbnailWidth: thumbnailWidth ?? this.thumbnailWidth,
      thumbnailHeight: thumbnailHeight ?? this.thumbnailHeight,
      replyMarkup: replyMarkup ?? this.replyMarkup,
      inputMessageContent: inputMessageContent ?? this.inputMessageContent,
    );