getSafeBrowsingPrivacyPolicyUrl method

  1. @override
Future<WebUri?> getSafeBrowsingPrivacyPolicyUrl()

Returns a URL pointing to the privacy policy for Safe Browsing reporting.

This method should only be called if WebViewFeature.isFeatureSupported returns true for WebViewFeature.SAFE_BROWSING_PRIVACY_POLICY_URL.

Officially Supported Platforms/Implementations:

Implementation

@override
Future<WebUri?> getSafeBrowsingPrivacyPolicyUrl() async {
  Map<String, dynamic> args = <String, dynamic>{};
  String? url = await _staticChannel.invokeMethod(
      'getSafeBrowsingPrivacyPolicyUrl', args);
  return url != null ? WebUri(url) : null;
}