NmMapLayer constructor

const NmMapLayer({
  1. required NmMapLayerType type,
  2. bool isVisible = true,
  3. double opacity = 1.0,
  4. int count = 0,
})

Creates a NmMapLayer.

Implementation

const NmMapLayer({required this.type, this.isVisible = true, this.opacity = 1.0, this.count = 0});