setFeaturesVisible method
void
setFeaturesVisible({ - required List<Feature> features,
- 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.