isInvocableCommandInWebView static method
Checks whether a command is executable in a WebView.
message
- The command message to check.
Returns: bool
(true
if executable).
Implementation
static Future<bool> isInvocableCommandInWebView(String? message) {
if (message == null) {
return Future.value(false);
}
return HacklePlatform.instance.isInvocableString(message);
}