CollectionObjects constructor

CollectionObjects({
  1. CollectionId? collectionId,
  2. Iterable<StoredObjectId>? objects,
})

Implementation

factory CollectionObjects({
  $1.CollectionId? collectionId,
  $core.Iterable<$1.StoredObjectId>? objects,
}) {
  final result = create();
  if (collectionId != null) result.collectionId = collectionId;
  if (objects != null) result.objects.addAll(objects);
  return result;
}