copyWith method
Creates a copy of this class but with the given fields replaced with the new values.
Implementation
MapBubbleSettings copyWith({
double? minRadius,
double? maxRadius,
Color? color,
double? strokeWidth,
Color? strokeColor,
}) {
return MapBubbleSettings(
minRadius: minRadius ?? this.minRadius,
maxRadius: maxRadius ?? this.maxRadius,
color: color ?? this.color,
strokeWidth: strokeWidth ?? this.strokeWidth,
strokeColor: strokeColor ?? this.strokeColor,
);
}