copyWith method

ScalingSettings copyWith({
  1. double? scaleRatioThreshold,
  2. double? scaleRatioThresholdInRotation,
})

Implementation

ScalingSettings copyWith({
  double? scaleRatioThreshold,
  double? scaleRatioThresholdInRotation
}) {
  return ScalingSettings(
    scaleRatioThreshold: scaleRatioThreshold ?? this.scaleRatioThreshold,
    scaleRatioThresholdInRotation: scaleRatioThresholdInRotation ?? this.scaleRatioThresholdInRotation
  );
}