copyWith method
Creates a copy of this object.
Implementation
LineStyle copyWith({
Color? color,
double? thickness,
bool? hasArea,
double? markerRadius,
({Color start, Color end})? areaGradientColors,
}) => LineStyle(
color: color ?? this.color,
thickness: thickness ?? this.thickness,
hasArea: hasArea ?? this.hasArea,
markerRadius: markerRadius ?? this.markerRadius,
areaGradientColors: areaGradientColors ?? this.areaGradientColors,
);