getSort method

Future<String> getSort(
  1. String hierarchyName
)

Returns the sort type which is applied to the hierarchy.

Implementation

Future<String> getSort(String hierarchyName) async {
  WebViewController apiController = await controller.future;
  return await apiController
      .runJavascriptReturningResult("webdatarocks.getSort('$hierarchyName')");
}