getRows method

Future getRows()

Returns a list of hierarchies selected in the report slice for rows.

Implementation

Future<dynamic> getRows() async {
  WebViewController apiController = await controller.future;
  String rowsString = await apiController
      .runJavascriptReturningResult("flexmonster.getRows()");
  dynamic rows = jsonDecode(rowsString);
  return rows;
}