copy method

Circle copy({
  1. double? radius,
  2. RadiusUnit? radiusUnit,
  3. bool? stroke,
  4. Color? strokeColor,
  5. double? strokeWidth,
  6. double? strokeOpacity,
  7. StrokeCap? strokeCap,
  8. StrokeJoin? strokeJoin,
  9. bool? fill,
  10. Color? fillColor,
  11. double? fillOpacity,
  12. 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,
  );
}