isRegexSupported method
Checks if the given regular expression will be supported as a
regexFilter rule condition.
|regexOptions|: The regular expression to check.
|Returns|: Promise that resolves with details consisting of whether the
regular expression is supported and the reason if not.
Implementation
Future<IsRegexSupportedResult> isRegexSupported(
RegexOptions regexOptions) async {
var $res = await $js.chrome.declarativeNetRequest
.isRegexSupported(regexOptions.toJS)
.toDart;
return IsRegexSupportedResult.fromJS($res);
}