copyWith method
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,
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,
);
}