ScriptSource constructor
Implementation
ScriptSource({
/// A string containing the JavaScript code to inject. Exactly one of
/// `file` or `code` must be specified.
String? code,
/// The path of the JavaScript file to inject relative to the extension's
/// root directory. Exactly one of `file` or `code`
/// must be specified.
String? file,
}) : _wrapped = $js.ScriptSource(
code: code,
file: file,
);