copyWith method
Implementation
IconParkProps copyWith({
Color? color1,
Color? color2,
Color? color3,
Color? color4,
double? strokeWidth,
StrokeJoin? strokeLineJoin,
StrokeCap? strokeLineCap,
bool? useCurrentColor,
}) {
return IconParkProps(
color1: color1 ?? this.color1,
color2: color2 ?? this.color2,
color3: color3 ?? this.color3,
color4: color4 ?? this.color4,
strokeWidth: strokeWidth ?? this.strokeWidth,
strokeLineJoin: strokeLineJoin ?? this.strokeLineJoin,
strokeLineCap: strokeLineCap ?? this.strokeLineCap,
theme: theme,
);
}