addCondition method
Adds a conditional formatting rule for cell values to format them with specific styles if the condition for the cell value is met.
Implementation
Future<void> addCondition(dynamic condition) async {
WebViewController apiController = await controller.future;
await apiController
.runJavascript("webdatarocks.addCondition(${jsonEncode(condition)})");
}