setSafeBrowsingWhitelist method

  1. @override
  2. @Deprecated("Use setSafeBrowsingAllowlist instead")
Future<bool> setSafeBrowsingWhitelist({
  1. required List<String> hosts,
})

{@template flutter_webview_platform_interface.PlatformInAppWebViewController.setSafeBrowsingWhitelist} Use setSafeBrowsingAllowlist instead. @{endtemplate}

Implementation

@override
@Deprecated("Use setSafeBrowsingAllowlist instead")
Future<bool> setSafeBrowsingWhitelist({required List<String> hosts}) async {
  return await setSafeBrowsingAllowlist(hosts: hosts);
}