Collection constructor

Collection({
  1. RowVersion? rowVersion,
  2. CollectionId? id,
  3. StoredImage? thumbnail,
  4. String? displayName,
  5. 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;
}