copyWith method

Search copyWith({
  1. int? id,
  2. String? title,
  3. String? url,
  4. String? type,
  5. String? subtype,
})

Implementation

Search copyWith({
  int? id,
  String? title,
  String? url,
  String? type,
  String? subtype,
}) {
  return Search(
    id: id ?? this.id,
    title: title ?? this.title,
    url: url ?? this.url,
    type: type ?? this.type,
    subtype: subtype ?? this.subtype,
  );
}