copyWith method

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

Implementation

@override
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,
    );