copyWith method
Implementation
LightingConfig copyWith({
double? radius,
Color? color,
bool? withPulse,
bool? useComponentAngle,
double? pulseVariation,
double? pulseSpeed,
Curve? pulseCurve,
double? blurBorder,
LightingType? type,
}) {
return LightingConfig(
radius: radius ?? this.radius,
color: color ?? this.color,
withPulse: withPulse ?? this.withPulse,
useComponentAngle: useComponentAngle ?? this.useComponentAngle,
pulseVariation: pulseVariation ?? this.pulseVariation,
pulseSpeed: pulseSpeed ?? this.pulseSpeed,
pulseCurve: pulseCurve ?? this.pulseCurve,
blurBorder: blurBorder ?? this.blurBorder,
type: type ?? this.type,
);
}