addScriptToExecuteOnDocumentCreated method
Implementation
@override
void addScriptToExecuteOnDocumentCreated(String javaScript) {
if (!(Platform.isWindows || Platform.isLinux || Platform.isMacOS)) {
return;
}
assert(javaScript.trim().isNotEmpty);
channel.invokeMethod("addScriptToExecuteOnDocumentCreated", {
"viewId": viewId,
"javaScript": javaScript,
});
}