setFilter method
Sets the filter for the specified hierarchy.
Implementation
Future<void> setFilter(String hierarchyName, List<String> items,
[bool? negation]) async {
WebViewController apiController = await controller.future;
await apiController.runJavascript(
"webdatarocks.setFilter('$hierarchyName',${jsonEncode(items)},${negation == null ? "" : "$negation"})");
}