getProxyCache static method

Map<String, bool> getProxyCache()

Get a read-only copy of the current proxy cache Returns a map of URLs to whether they require a proxy Key: URL string, Value: bool (true = needs proxy)

Implementation

static Map<String, bool> getProxyCache() {
  return _SWebViewState._restrictionCache.map(
    (key, value) => MapEntry(key, value.needsProxy),
  );
}