copyWith method

Implementation

HillshadeLayerProperties copyWith(HillshadeLayerProperties changes) {
  return HillshadeLayerProperties(
    hillshadeIlluminationDirection: changes.hillshadeIlluminationDirection ??
        hillshadeIlluminationDirection,
    hillshadeIlluminationAnchor:
        changes.hillshadeIlluminationAnchor ?? hillshadeIlluminationAnchor,
    hillshadeExaggeration:
        changes.hillshadeExaggeration ?? hillshadeExaggeration,
    hillshadeShadowColor:
        changes.hillshadeShadowColor ?? hillshadeShadowColor,
    hillshadeHighlightColor:
        changes.hillshadeHighlightColor ?? hillshadeHighlightColor,
    hillshadeAccentColor:
        changes.hillshadeAccentColor ?? hillshadeAccentColor,
    visibility: changes.visibility ?? visibility,
  );
}