collapseData method

Future<void> collapseData(
  1. String uniqueName
)

Collapses all nodes of the specified hierarchy. Please note, this method works only for CSV and JSON data sources.

Implementation

Future<void> collapseData(String uniqueName) async {
  WebViewController apiController = await controller.future;
  await apiController
      .runJavascript("flexmonster.collapseData('$uniqueName')");
}