setFeaturesVisible method

void setFeaturesVisible({
  1. required List<Feature> features,
  2. required bool visible,
})

Sets the visibility of all features in the collection.

Parameters:

  • features — A List of Feature. Contents of the List are copied.
  • visible — True to show the features, otherwise false.