removeRules method
Unregisters currently registered rules.
eventName
Name of the event this function affects.
webViewInstanceId
If provided, this is an integer that uniquely
identfies the
Implementation
Future<void> removeRules(
String eventName,
int webViewInstanceId,
List<String>? ruleIdentifiers,
) {
var $completer = Completer<void>();
_wrapped.removeRules(
eventName,
webViewInstanceId,
ruleIdentifiers?.toJSArray((e) => e),
() {
if (checkRuntimeLastError($completer)) {
$completer.complete(null);
}
}.toJS,
);
return $completer.future;
}