setCPUThrottlingRate method

Future<void> setCPUThrottlingRate(
  1. num rate
)

Enables CPU throttling to emulate slow CPUs. rate Throttling rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).

Implementation

Future<void> setCPUThrottlingRate(num rate) async {
  await _client.send('Emulation.setCPUThrottlingRate', {
    'rate': rate,
  });
}