copyWith method

  1. @override
InlineQueryResultPhoto copyWith({
  1. String? id,
  2. Photo? photo,
  3. String? title,
  4. String? description,
})
override

Implementation

@override
InlineQueryResultPhoto copyWith({
  String? id,
  Photo? photo,
  String? title,
  String? description,
}) => InlineQueryResultPhoto(
  id: id ?? this.id,
  photo: photo ?? this.photo,
  title: title ?? this.title,
  description: description ?? this.description,
);