copyWith method

InlineQueryResultVenue copyWith({
  1. String? id,
  2. double? latitude,
  3. double? longitude,
  4. String? title,
  5. String? address,
  6. String? foursquareId,
  7. String? foursquareType,
  8. String? googlePlaceId,
  9. String? googlePlaceType,
  10. InlineKeyboardMarkup? replyMarkup,
  11. InputMessageContent? inputMessageContent,
  12. String? thumbnailUrl,
  13. int? thumbnailWidth,
  14. int? thumbnailHeight,
})

Copy method

Implementation

InlineQueryResultVenue copyWith({
  String? id,
  double? latitude,
  double? longitude,
  String? title,
  String? address,
  String? foursquareId,
  String? foursquareType,
  String? googlePlaceId,
  String? googlePlaceType,
  InlineKeyboardMarkup? replyMarkup,
  InputMessageContent? inputMessageContent,
  String? thumbnailUrl,
  int? thumbnailWidth,
  int? thumbnailHeight,
}) {
  return InlineQueryResultVenue(
    id: id ?? this.id,
    latitude: latitude ?? this.latitude,
    longitude: longitude ?? this.longitude,
    title: title ?? this.title,
    address: address ?? this.address,
    foursquareId: foursquareId ?? this.foursquareId,
    foursquareType: foursquareType ?? this.foursquareType,
    googlePlaceId: googlePlaceId ?? this.googlePlaceId,
    googlePlaceType: googlePlaceType ?? this.googlePlaceType,
    replyMarkup: replyMarkup ?? this.replyMarkup,
    inputMessageContent: inputMessageContent ?? this.inputMessageContent,
    thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
    thumbnailWidth: thumbnailWidth ?? this.thumbnailWidth,
    thumbnailHeight: thumbnailHeight ?? this.thumbnailHeight,
  );
}