Collection constructor
Collection({
- RowVersion? rowVersion,
- CollectionId? id,
- StoredImage? thumbnail,
- String? displayName,
- SearchQuery? query,
Implementation
factory Collection({
$0.RowVersion? rowVersion,
$1.CollectionId? id,
$2.StoredImage? thumbnail,
$core.String? displayName,
$3.SearchQuery? query,
}) {
final result = create();
if (rowVersion != null) result.rowVersion = rowVersion;
if (id != null) result.id = id;
if (thumbnail != null) result.thumbnail = thumbnail;
if (displayName != null) result.displayName = displayName;
if (query != null) result.query = query;
return result;
}