dispose method
Prepares the pivot table instance to be deleted with the browser’s garbage collection.
Implementation
Future<void> dispose() async {
WebViewController apiController = await controller.future;
await apiController.runJavascript("webdatarocks.dispose()");
}