copy method
Circle
copy(
{ - double? radius,
- RadiusUnit? radiusUnit,
- bool? stroke,
- Color? strokeColor,
- double? strokeWidth,
- double? strokeOpacity,
- StrokeCap? strokeCap,
- StrokeJoin? strokeJoin,
- bool? fill,
- Color? fillColor,
- double? fillOpacity,
- dynamic data,
})
Implementation
Circle copy({
double? radius,
RadiusUnit? radiusUnit,
bool? stroke,
Color? strokeColor,
double? strokeWidth,
double? strokeOpacity,
StrokeCap? strokeCap,
StrokeJoin? strokeJoin,
bool? fill,
Color? fillColor,
double? fillOpacity,
dynamic data,
}) {
return Circle(
latlng,
radius: radius ?? this.radius,
radiusUnit: radiusUnit ?? this.radiusUnit,
stroke: stroke ?? this.stroke,
strokeColor: strokeColor ?? this.strokeColor,
strokeWidth: strokeWidth ?? this.strokeWidth,
strokeOpacity: strokeOpacity ?? this.strokeOpacity,
strokeCap: strokeCap ?? this.strokeCap,
strokeJoin: strokeJoin ?? this.strokeJoin,
fill: fill ?? this.fill,
fillColor: fillColor ?? this.fillColor,
fillOpacity: fillOpacity ?? this.fillOpacity,
data: data ?? this.data,
);
}