RasterLayer constructor

RasterLayer(
  1. {required dynamic id,
  2. dynamic visibility,
  3. dynamic minZoom,
  4. dynamic maxZoom,
  5. dynamic slot,
  6. required String sourceId,
  7. String? sourceLayer,
  8. double? rasterBrightnessMax,
  9. double? rasterBrightnessMin,
  10. int? rasterColor,
  11. List<double?>? rasterColorMix,
  12. List<double?>? rasterColorRange,
  13. double? rasterContrast,
  14. double? rasterFadeDuration,
  15. double? rasterHueRotate,
  16. double? rasterOpacity,
  17. RasterResampling? rasterResampling,
  18. double? rasterSaturation}
)

Implementation

RasterLayer({
  required id,
  visibility,
  minZoom,
  maxZoom,
  slot,
  required this.sourceId,
  this.sourceLayer,
  this.rasterBrightnessMax,
  this.rasterBrightnessMin,
  this.rasterColor,
  this.rasterColorMix,
  this.rasterColorRange,
  this.rasterContrast,
  this.rasterFadeDuration,
  this.rasterHueRotate,
  this.rasterOpacity,
  this.rasterResampling,
  this.rasterSaturation,
}) : super(
          id: id,
          visibility: visibility,
          maxZoom: maxZoom,
          minZoom: minZoom,
          slot: slot);