SearchAgent constructor
SearchAgent({
- RowVersion? rowVersion,
- SearchAgentId? id,
- Timestamp? createdTime,
- Timestamp? updatedTime,
- StoredImage? thumbnail,
- StringValue? displayName,
- SearchQuery? query,
Implementation
factory SearchAgent({
$2.RowVersion? rowVersion,
$0.SearchAgentId? id,
$4.Timestamp? createdTime,
$4.Timestamp? updatedTime,
$1.StoredImage? thumbnail,
$3.StringValue? displayName,
SearchQuery? query,
}) {
final result = create();
if (rowVersion != null) result.rowVersion = rowVersion;
if (id != null) result.id = id;
if (createdTime != null) result.createdTime = createdTime;
if (updatedTime != null) result.updatedTime = updatedTime;
if (thumbnail != null) result.thumbnail = thumbnail;
if (displayName != null) result.displayName = displayName;
if (query != null) result.query = query;
return result;
}