copyWith method
Implementation
FlLine copyWith({
Color? color,
Gradient? gradient,
double? strokeWidth,
List<int>? dashArray,
}) {
return FlLine(
color: color ?? this.color,
gradient: gradient ?? this.gradient,
strokeWidth: strokeWidth ?? this.strokeWidth,
dashArray: dashArray ?? this.dashArray,
);
}