setFeatureVisible method
Sets the visibility of the given feature.
Parameters:
feature
— The feature.visible
— True to show the features, otherwise false.
Implementation
void setFeatureVisible({
required Feature feature,
required bool visible,
}) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_FeatureLayer_setFeatureVisible(
_handle,
feature._handle,
visible,
errorHandler,
);
});
}