copyWith method

MarkerSettings copyWith({
  1. bool? isVisible,
  2. Color? color,
  3. DataMarkerType? shape,
  4. double? height,
  5. double? width,
  6. Color? borderColor,
  7. double? borderWidth,
  8. 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,
  );
}