hasUserScript method
Returns true
if the userScript
has been already added, otherwise false
.
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS
- MacOS
- Windows
Implementation
bool hasUserScript({required UserScript userScript}) =>
platform.hasUserScript(userScript: userScript);