copyWith method
Implementation
VisualizerConfig copyWith({
List<Color>? colors,
double? thickness,
double? glow,
double? radius,
double? intensity,
double? smoothing,
double? peakDecay,
String? frequencyMap,
}) {
return VisualizerConfig(
colors: colors ?? this.colors,
thickness: thickness ?? this.thickness,
glow: glow ?? this.glow,
radius: radius ?? this.radius,
intensity: intensity ?? this.intensity,
smoothing: smoothing ?? this.smoothing,
peakDecay: peakDecay ?? this.peakDecay,
frequencyMap: frequencyMap ?? this.frequencyMap,
);
}