hasJavaScriptHandler method
Returns true
if a JavaScript handler with handlerName
already exists, otherwise false
.
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS
- MacOS
Implementation
bool hasJavaScriptHandler({required String handlerName}) {
throw UnimplementedError(
'hasJavaScriptHandler is not implemented on the current platform');
}