setFilter method
Sets the filter for the specified hierarchy.
Implementation
Future<void> setFilter(String uniqueName, dynamic filter) async {
WebViewController apiController = await controller.future;
await apiController.runJavascript(
"flexmonster.setFilter('$uniqueName',${jsonEncode(filter)})");
}