getAllConditions method

Future getAllConditions()

Returns a list of conditional formatting rules of the report. You may need this API call to edit existing conditional formatting rules.

Implementation

Future<dynamic> getAllConditions() async {
  WebViewController apiController = await controller.future;
  String conditionsString = await apiController
      .runJavascriptReturningResult("webdatarocks.getAllConditions()");
  dynamic conditions = jsonDecode(conditionsString);
  return conditions;
}