HillshadeLayer constructor

HillshadeLayer({
  1. required String id,
  2. Visibility? visibility,
  3. List<Object>? visibilityExpression,
  4. List<Object>? filter,
  5. double? minZoom,
  6. double? maxZoom,
  7. String? slot,
  8. required String sourceId,
  9. String? sourceLayer,
  10. int? hillshadeAccentColor,
  11. List<Object>? hillshadeAccentColorExpression,
  12. double? hillshadeEmissiveStrength,
  13. List<Object>? hillshadeEmissiveStrengthExpression,
  14. double? hillshadeExaggeration,
  15. List<Object>? hillshadeExaggerationExpression,
  16. int? hillshadeHighlightColor,
  17. List<Object>? hillshadeHighlightColorExpression,
  18. HillshadeIlluminationAnchor? hillshadeIlluminationAnchor,
  19. List<Object>? hillshadeIlluminationAnchorExpression,
  20. double? hillshadeIlluminationDirection,
  21. List<Object>? hillshadeIlluminationDirectionExpression,
  22. int? hillshadeShadowColor,
  23. List<Object>? hillshadeShadowColorExpression,
})

Implementation

HillshadeLayer({
  required String id,
  Visibility? visibility,
  List<Object>? visibilityExpression,
  List<Object>? filter,
  double? minZoom,
  double? maxZoom,
  String? slot,
  required String this.sourceId,
  String? this.sourceLayer,
  int? this.hillshadeAccentColor,
  List<Object>? this.hillshadeAccentColorExpression,
  double? this.hillshadeEmissiveStrength,
  List<Object>? this.hillshadeEmissiveStrengthExpression,
  double? this.hillshadeExaggeration,
  List<Object>? this.hillshadeExaggerationExpression,
  int? this.hillshadeHighlightColor,
  List<Object>? this.hillshadeHighlightColorExpression,
  HillshadeIlluminationAnchor? this.hillshadeIlluminationAnchor,
  List<Object>? this.hillshadeIlluminationAnchorExpression,
  double? this.hillshadeIlluminationDirection,
  List<Object>? this.hillshadeIlluminationDirectionExpression,
  int? this.hillshadeShadowColor,
  List<Object>? this.hillshadeShadowColorExpression,
}) : super(
          id: id,
          visibility: visibility,
          visibilityExpression: visibilityExpression,
          filter: filter,
          maxZoom: maxZoom,
          minZoom: minZoom,
          slot: slot);