QCSampleParameter constructor

QCSampleParameter({
  1. String? entityUuid,
  2. EmployeeMetadata? metadata,
  3. String? userComment,
  4. String? checkedBy,
  5. Int64? checkedAt,
  6. Int64? qcSampleId,
  7. Int64? qcParamId,
  8. Int64? uomId,
  9. Int64? numberObservedValue,
  10. String? textObservedValue,
  11. bool? isInternal,
  12. QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE? acceptableValueType,
  13. Int64? numberAcceptableValue,
  14. Int64? numberRelativeLowerBound,
  15. Int64? numberRelativeUpperBound,
  16. Iterable<String>? textAcceptableValues,
  17. Iterable<String>? textAcceptableValuesWithDeviation,
  18. Iterable<String>? textUnacceptableValues,
  19. String? description,
})

Implementation

factory QCSampleParameter({
  $core.String? entityUuid,
  $1.EmployeeMetadata? metadata,
  $core.String? userComment,
  $core.String? checkedBy,
  $fixnum.Int64? checkedAt,
  $fixnum.Int64? qcSampleId,
  $fixnum.Int64? qcParamId,
  $fixnum.Int64? uomId,
  $fixnum.Int64? numberObservedValue,
  $core.String? textObservedValue,
  $core.bool? isInternal,
  $4.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE? acceptableValueType,
  $fixnum.Int64? numberAcceptableValue,
  $fixnum.Int64? numberRelativeLowerBound,
  $fixnum.Int64? numberRelativeUpperBound,
  $core.Iterable<$core.String>? textAcceptableValues,
  $core.Iterable<$core.String>? textAcceptableValuesWithDeviation,
  $core.Iterable<$core.String>? textUnacceptableValues,
  $core.String? description,
}) {
  final result = create();
  if (entityUuid != null) result.entityUuid = entityUuid;
  if (metadata != null) result.metadata = metadata;
  if (userComment != null) result.userComment = userComment;
  if (checkedBy != null) result.checkedBy = checkedBy;
  if (checkedAt != null) result.checkedAt = checkedAt;
  if (qcSampleId != null) result.qcSampleId = qcSampleId;
  if (qcParamId != null) result.qcParamId = qcParamId;
  if (uomId != null) result.uomId = uomId;
  if (numberObservedValue != null)
    result.numberObservedValue = numberObservedValue;
  if (textObservedValue != null) result.textObservedValue = textObservedValue;
  if (isInternal != null) result.isInternal = isInternal;
  if (acceptableValueType != null)
    result.acceptableValueType = acceptableValueType;
  if (numberAcceptableValue != null)
    result.numberAcceptableValue = numberAcceptableValue;
  if (numberRelativeLowerBound != null)
    result.numberRelativeLowerBound = numberRelativeLowerBound;
  if (numberRelativeUpperBound != null)
    result.numberRelativeUpperBound = numberRelativeUpperBound;
  if (textAcceptableValues != null)
    result.textAcceptableValues.addAll(textAcceptableValues);
  if (textAcceptableValuesWithDeviation != null)
    result.textAcceptableValuesWithDeviation
        .addAll(textAcceptableValuesWithDeviation);
  if (textUnacceptableValues != null)
    result.textUnacceptableValues.addAll(textUnacceptableValues);
  if (description != null) result.description = description;
  return result;
}