copyWith method

Implementation

HeatmapLayerProperties copyWith(HeatmapLayerProperties changes) {
  return HeatmapLayerProperties(
    heatmapRadius: changes.heatmapRadius ?? heatmapRadius,
    heatmapWeight: changes.heatmapWeight ?? heatmapWeight,
    heatmapIntensity: changes.heatmapIntensity ?? heatmapIntensity,
    heatmapColor: changes.heatmapColor ?? heatmapColor,
    heatmapOpacity: changes.heatmapOpacity ?? heatmapOpacity,
    visibility: changes.visibility ?? visibility,
  );
}