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}) =>
platform.hasJavaScriptHandler(handlerName: handlerName);