Set the icon's visibility value
Future<void> setIconVisible(bool visible) => DisplayRulePlatform.instance.setIconVisible(id, visible);