injectJSScript function
Implementation
void injectJSScript(String path) {
html.document.head!.append(html.ScriptElement()
..src = path
..defer = true);
}
void injectJSScript(String path) {
html.document.head!.append(html.ScriptElement()
..src = path
..defer = true);
}