getReport method

Future getReport()

This API call returns report JSON object as string

Implementation

Future<dynamic> getReport() async {
  WebViewController apiController = await controller.future;
  String reportString = await apiController
      .runJavascriptReturningResult("flexmonster.getReport()");
  dynamic report = jsonDecode(reportString);
  return report;
}