shareReport method
Saves the current report to Flexmonster Data Server and provides a link to the saved report.
To save a report, Flexmonster creates an XMLHttpRequest
and sends it to the Data Server as a POST request. The request is sent to <url>/save
, where url is the Data Server’s URL (e.g., http://localhost:9500).
For more details on report sharing, see this guide: Share the report.
Implementation
Future<void> shareReport([dynamic options]) async {
WebViewController apiController = await controller.future;
await apiController.runJavascript(
"flexmonster.shareReport(${options == null ? "" : "$jsonEncode(options)"})");
}