getRows method
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("webdatarocks.getRows()");
dynamic rows = jsonDecode(rowsString);
return rows;
}