copyWith method
MarkerSettings
copyWith({
- bool? isVisible,
- Color? color,
- DataMarkerType? shape,
- double? height,
- double? width,
- Color? borderColor,
- double? borderWidth,
- ImageProvider<
Object> ? image,
Implementation
MarkerSettings copyWith({
bool? isVisible,
Color? color,
DataMarkerType? shape,
double? height,
double? width,
Color? borderColor,
double? borderWidth,
ImageProvider? image,
}) {
return MarkerSettings(
isVisible: isVisible ?? this.isVisible,
color: color ?? this.color,
shape: shape ?? this.shape,
height: height ?? this.height,
width: width ?? this.width,
borderColor: borderColor ?? this.borderColor,
borderWidth: borderWidth ?? this.borderWidth,
image: image ?? this.image,
);
}