copyWith method
Copies current RadarDataSet to a new RadarDataSet, and replaces provided values.
Implementation
RadarDataSet copyWith({
List<RadarEntry>? dataEntries,
Color? fillColor,
Color? borderColor,
double? borderWidth,
double? entryRadius,
}) =>
RadarDataSet(
dataEntries: dataEntries ?? this.dataEntries,
fillColor: fillColor ?? this.fillColor,
borderColor: borderColor ?? this.borderColor,
borderWidth: borderWidth ?? this.borderWidth,
entryRadius: entryRadius ?? this.entryRadius,
);