NetworkAllowlist.allowAny constructor

NetworkAllowlist.allowAny({
  1. Set<String> schemes = const {'https'},
})

An allowlist that permits any host over schemes (defaults to https).

Use sparingly: it disables host filtering. Scheme filtering still applies.

Implementation

factory NetworkAllowlist.allowAny({Set<String> schemes = const {'https'}}) =>
    NetworkAllowlist._anyHost(schemes);