copyWith method

CircleOptions copyWith(
  1. CircleOptions changes
)

Implementation

CircleOptions copyWith(CircleOptions changes) {
  if (changes == null) {
    return this;
  }
  return CircleOptions(
    circleRadius: changes.circleRadius ?? circleRadius,
    circleColor: changes.circleColor ?? circleColor,
    circleBlur: changes.circleBlur ?? circleBlur,
    circleOpacity: changes.circleOpacity ?? circleOpacity,
    circleStrokeWidth: changes.circleStrokeWidth ?? circleStrokeWidth,
    circleStrokeColor: changes.circleStrokeColor ?? circleStrokeColor,
    circleStrokeOpacity: changes.circleStrokeOpacity ?? circleStrokeOpacity,
    geometry: changes.geometry ?? geometry,
    draggable: changes.draggable ?? draggable,
  );
}