setScriptSource abstract method
Set the source
code for the script with scriptId
. Calling this again
with the same scriptId
will overwrite the script. Set highlight
to
true if you'd like to have highlighting data computed. scriptName
is the
name used to require this script.
Implementation
Future<HighlightResult> setScriptSource(
String scriptId, String scriptName, String source,
{bool highlight = false});