copyWith method
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,
);
}