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