updateCopy method
Circle
updateCopy(
{ - LatLng? center,
- double? radius,
- Color? strokeColor,
- int? strokeWidth,
- Color? fillColor,
- bool? visible,
- int? zIndex,
- bool? clickable,
- VoidCallback? onClick,
- List<PatternItem>? strokePattern,
})
Implementation
Circle updateCopy({
LatLng? center,
double? radius,
Color? strokeColor,
int? strokeWidth,
Color? fillColor,
bool? visible,
int? zIndex,
bool? clickable,
VoidCallback? onClick,
List<PatternItem>? strokePattern,
}) {
return Circle(
circleId: circleId,
center: center ?? this.center,
radius: radius ?? this.radius,
strokeColor: strokeColor ?? this.strokeColor,
strokeWidth: strokeWidth ?? this.strokeWidth,
fillColor: fillColor ?? this.fillColor,
visible: visible ?? this.visible,
zIndex: zIndex ?? this.zIndex,
clickable: clickable ?? this.clickable,
onClick: onClick ?? this.onClick,
strokePattern: strokePattern ?? this.strokePattern,
);
}