setSafeBrowsingWhitelist method
- @SupportedPlatforms.new(platforms: [AndroidPlatform()])
- @Deprecated("Use setSafeBrowsingAllowlist instead")
Use setSafeBrowsingAllowlist instead.
Officially Supported Platforms/Implementations:
- Android WebView
Parameters - Officially Supported Platforms/Implementations:
hosts: all platforms
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(platforms: [AndroidPlatform()])
@Deprecated("Use setSafeBrowsingAllowlist instead")
Future<bool> setSafeBrowsingWhitelist({required List<String> hosts}) {
throw UnimplementedError(
'${PlatformInAppWebViewControllerMethod.setSafeBrowsingWhitelist.name} is not implemented on the current platform',
);
}