removeJavaScriptHandler method
Removes a JavaScript message handler previously added with the addJavaScriptHandler
associated to handlerName
key.
Returns the value associated with handlerName
before it was removed.
Returns null
if handlerName
was not found.
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS
- MacOS
- Windows
Implementation
JavaScriptHandlerCallback? removeJavaScriptHandler(
{required String handlerName}) {
throw UnimplementedError(
'removeJavaScriptHandler is not implemented on the current platform');
}