nextWasmDisassemblyChunk method

Future<WasmDisassemblyChunk> nextWasmDisassemblyChunk(
  1. String streamId
)

Disassemble the next chunk of lines for the module corresponding to the stream. If disassembly is complete, this API will invalidate the streamId and return an empty chunk. Any subsequent calls for the now invalid stream will return errors. Returns: The next chunk of disassembly.

Implementation

Future<WasmDisassemblyChunk> nextWasmDisassemblyChunk(String streamId) async {
  var result = await _client.send('Debugger.nextWasmDisassemblyChunk', {
    'streamId': streamId,
  });
  return WasmDisassemblyChunk.fromJson(
      result['chunk'] as Map<String, dynamic>);
}