copyWith method

InlineQueryResultLocation copyWith({
  1. String? id,
  2. Location? location,
  3. String? title,
  4. Thumbnail? thumbnail,
})

Implementation

InlineQueryResultLocation copyWith({
  String? id,
  Location? location,
  String? title,
  Thumbnail? thumbnail,
}) => InlineQueryResultLocation(
  id: id ?? this.id,
  location: location ?? this.location,
  title: title ?? this.title,
  thumbnail: thumbnail ?? this.thumbnail,
);