excludedRequestDomains property

List<String>? get excludedRequestDomains

The rule will not match network requests when the domains matches one from the list of excludedRequestDomains. If the list is empty or omitted, no domains are excluded. This takes precedence over requestDomains.

Notes:

  • Sub-domains like "a.example.com" are also allowed.
  • The entries must consist of only ascii characters.
  • Use punycode encoding for internationalized domains.
  • Sub-domains of the listed domains are also excluded.

Implementation

List<String>? get excludedRequestDomains =>
    _wrapped.excludedRequestDomains?.toDart
        .cast<String>()
        .map((e) => e)
        .toList();
set excludedRequestDomains (List<String>? v)

Implementation

set excludedRequestDomains(List<String>? v) {
  _wrapped.excludedRequestDomains = v?.toJSArray((e) => e);
}