QCSampleWithMetadata constructor

QCSampleWithMetadata({
  1. QCSample? qcSample,
  2. Family? family,
  3. QCGroup? qcGroup,
  4. GenericInventory? inventoryItem,
})

Implementation

factory QCSampleWithMetadata({
  QCSample? qcSample,
  $3.Family? family,
  $4.QCGroup? qcGroup,
  $5.GenericInventory? inventoryItem,
}) {
  final result = create();
  if (qcSample != null) result.qcSample = qcSample;
  if (family != null) result.family = family;
  if (qcGroup != null) result.qcGroup = qcGroup;
  if (inventoryItem != null) result.inventoryItem = inventoryItem;
  return result;
}