getGlobalPrivacyControl method

Future<bool> getGlobalPrivacyControl()

Gets the current globally-applied privacy control status See https://www.w3.org/TR/gpc/#get-global-privacy-control

Implementation

Future<bool> getGlobalPrivacyControl() async {
  var result = await _client.send('Browser.getGlobalPrivacyControl');
  return result['gpc'] as bool;
}