Dart Documentationchrome.privacyNetworkPrivacy

NetworkPrivacy class

class NetworkPrivacy extends ChromeObject {
 NetworkPrivacy();
 NetworkPrivacy.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * If enabled, Chrome attempts to speed up your web browsing experience by
  * pre-resolving DNS entries, prerendering sites (`<link rel='prefetch'
  * ...>`), and preemptively opening TCP and SSL connections to servers.
  * This preference's value is a boolean, defaulting to `true`.
  */
 ChromeSetting get networkPredictionEnabled => _createChromeSetting(jsProxy['networkPredictionEnabled']);
}

Extends

ChromeObject > NetworkPrivacy

Constructors

new NetworkPrivacy() #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
NetworkPrivacy();

new NetworkPrivacy.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
NetworkPrivacy.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

final ChromeSetting networkPredictionEnabled #

If enabled, Chrome attempts to speed up your web browsing experience by pre-resolving DNS entries, prerendering sites (<link rel='prefetch' ...>), and preemptively opening TCP and SSL connections to servers. This preference's value is a boolean, defaulting to true.

ChromeSetting get networkPredictionEnabled => _createChromeSetting(jsProxy['networkPredictionEnabled']);

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();