setOptions method
Sets the component’s options.
Use refresh()
API call after to redraw the component and see changes.
Implementation
Future<void> setOptions(dynamic options) async {
WebViewController apiController = await controller.future;
await apiController
.runJavascript("webdatarocks.setOptions(${jsonEncode(options)})");
}