copyWith method
Copy method
Implementation
InlineQueryResultLocation copyWith({
String? id,
double? latitude,
double? longitude,
String? title,
int? horizontalAccuracy,
int? livePeriod,
int? heading,
int? proximityAlertRadius,
InlineKeyboardMarkup? replyMarkup,
InputMessageContent? inputMessageContent,
String? thumbnailUrl,
int? thumbnailWidth,
int? thumbnailHeight,
}) {
return InlineQueryResultLocation(
id: id ?? this.id,
latitude: latitude ?? this.latitude,
longitude: longitude ?? this.longitude,
title: title ?? this.title,
horizontalAccuracy: horizontalAccuracy ?? this.horizontalAccuracy,
livePeriod: livePeriod ?? this.livePeriod,
heading: heading ?? this.heading,
proximityAlertRadius: proximityAlertRadius ?? this.proximityAlertRadius,
replyMarkup: replyMarkup ?? this.replyMarkup,
inputMessageContent: inputMessageContent ?? this.inputMessageContent,
thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
thumbnailWidth: thumbnailWidth ?? this.thumbnailWidth,
thumbnailHeight: thumbnailHeight ?? this.thumbnailHeight,
);
}