getScriptSource method

Future<GetScriptSourceResult> getScriptSource(
  1. ScriptId scriptId
)

Returns source for the script with given id. scriptId Id of the script to get source for.

Implementation

Future<GetScriptSourceResult> getScriptSource(
    runtime.ScriptId scriptId) async {
  var result = await _client.send('Debugger.getScriptSource', {
    'scriptId': scriptId,
  });
  return GetScriptSourceResult.fromJson(result);
}