copyWith method
A copy with the given strength, dispersion or blur replaced.
Implementation
LensSpec copyWith({double? strength, double? dispersion, double? blur}) => LensSpec(
strength: strength ?? this.strength,
dispersion: dispersion ?? this.dispersion,
depth: depth,
dome: dome,
splay: splay,
relative: relative,
bezel: bezel,
maxDepth: maxDepth,
ink: ink,
blur: blur ?? this.blur,
paintsLight: paintsLight,
darkStrength: darkStrength,
);