copyWith method

RotationSettings copyWith({
  1. double? angleDiffDeg,
  2. double? distanceDiffMm,
  3. double? angleDiffInScalingDeg,
  4. double? distanceDiffInScalingMm,
})

Implementation

RotationSettings copyWith({
  double? angleDiffDeg,
  double? distanceDiffMm,
  double? angleDiffInScalingDeg,
  double? distanceDiffInScalingMm
}) {
  return RotationSettings(
    angleDiffDeg: angleDiffDeg ?? this.angleDiffDeg,
    distanceDiffMm: distanceDiffMm ?? this.distanceDiffMm,
    angleDiffInScalingDeg: angleDiffInScalingDeg ?? this.angleDiffInScalingDeg,
    distanceDiffInScalingMm: distanceDiffInScalingMm ?? this.distanceDiffInScalingMm
  );
}