setReturnValue method

Future<void> setReturnValue(
  1. CallArgument newValue
)

Changes return value in top frame. Available only at return break position. newValue New return value.

Implementation

Future<void> setReturnValue(runtime.CallArgument newValue) async {
  await _client.send('Debugger.setReturnValue', {
    'newValue': newValue,
  });
}