StyleMenuLayer constructor

StyleMenuLayer({
  1. required String id,
  2. bool? enabled,
  3. bool? visible,
  4. String? parent,
  5. required List<StyleMenuTranslation> names,
  6. required List<String> categories,
  7. required List<String> overlays,
})

Implementation

StyleMenuLayer({required this.id, this.enabled, this.visible, this.parent, required this.names, required this.categories, required this.overlays})
  : assert(names.isNotEmpty);