SavedSearch constructor
SavedSearch({
- SavedSearchId? id,
- SearchQuery? searchQuery,
- StringValue? displayName,
- Int32Value? order,
- StoredImage? image,
- bool? notifyOnNew,
- StringValue? title,
- StringValue? subtitle,
- StringValue? editorial,
- SavedSearch_SavedSearchViewType? viewType,
- Any? child,
Implementation
factory SavedSearch({
$0.SavedSearchId? id,
SearchQuery? searchQuery,
$3.StringValue? displayName,
$3.Int32Value? order,
$1.StoredImage? image,
$core.bool? notifyOnNew,
$3.StringValue? title,
$3.StringValue? subtitle,
$3.StringValue? editorial,
SavedSearch_SavedSearchViewType? viewType,
$5.Any? child,
}) {
final result = create();
if (id != null) result.id = id;
if (searchQuery != null) result.searchQuery = searchQuery;
if (displayName != null) result.displayName = displayName;
if (order != null) result.order = order;
if (image != null) result.image = image;
if (notifyOnNew != null) result.notifyOnNew = notifyOnNew;
if (title != null) result.title = title;
if (subtitle != null) result.subtitle = subtitle;
if (editorial != null) result.editorial = editorial;
if (viewType != null) result.viewType = viewType;
if (child != null) result.child = child;
return result;
}