copyWith method
Implementation
ActivePolylineOptions copyWith({
Color? color,
double? strokeWidth,
double? borderStrokeWidth,
Color? borderColor,
List<Color>? gradientColors,
StrokePattern? pattern,
}) {
return ActivePolylineOptions(
color: color ?? this.color,
strokeWidth: strokeWidth ?? this.strokeWidth,
borderStrokeWidth: borderStrokeWidth ?? this.borderStrokeWidth,
borderColor: borderColor ?? this.borderColor,
gradientColors: gradientColors ?? this.gradientColors,
pattern: pattern ?? this.pattern,
);
}