getWasmBytecode method

  1. @Deprecated('Use getScriptSource instead')
Future<String> getWasmBytecode(
  1. ScriptId scriptId
)

This command is deprecated. Use getScriptSource instead. scriptId Id of the Wasm script to get source for. Returns: Script source.

Implementation

@Deprecated('Use getScriptSource instead')
Future<String> getWasmBytecode(runtime.ScriptId scriptId) async {
  var result = await _client.send('Debugger.getWasmBytecode', {
    'scriptId': scriptId,
  });
  return result['bytecode'] as String;
}