copyWith method

ScalingRecognizeSettings copyWith({
  1. double? scaleRatioThreshold,
  2. double? scaleRatioThresholdInRotation,
  3. double? zoomScaleRatio,
  4. double? scaleLogDiffPerMm,
  5. bool? disableZoom,
})

Implementation

ScalingRecognizeSettings copyWith({
  double? scaleRatioThreshold,
  double? scaleRatioThresholdInRotation,
  double? zoomScaleRatio,
  double? scaleLogDiffPerMm,
  bool? disableZoom
}) {
  return ScalingRecognizeSettings(
    scaleRatioThreshold: scaleRatioThreshold ?? this.scaleRatioThreshold,
    scaleRatioThresholdInRotation: scaleRatioThresholdInRotation ?? this.scaleRatioThresholdInRotation,
    zoomScaleRatio: zoomScaleRatio ?? this.zoomScaleRatio,
    scaleLogDiffPerMm: scaleLogDiffPerMm ?? this.scaleLogDiffPerMm,
    disableZoom: disableZoom ?? this.disableZoom
  );
}