hasWebMessageListener method

bool hasWebMessageListener(
  1. WebMessageListener webMessageListener
)

Returns true if the webMessageListener has been already added, otherwise false.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS

Implementation

bool hasWebMessageListener(WebMessageListener webMessageListener) =>
    platform.hasWebMessageListener(webMessageListener.platform);