copyWith method
Creates a copy of the current object with new values specified in arguments.
Implementation
GaugeChartSectionStyle copyWith({
List<Color>? colors,
Color? selectedColor,
Color? selectedBorderColor,
double? selectedBorderStroke,
}) =>
GaugeChartSectionStyle(
colors: colors ?? this.colors,
selectedColor: selectedColor ?? this.selectedColor,
selectedBorderColor: selectedBorderColor ?? this.selectedBorderColor,
selectedBorderStroke: selectedBorderStroke ?? this.selectedBorderStroke,
);