setSamplingInterval method
Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
interval
New sampling interval in microseconds.
Implementation
Future<void> setSamplingInterval(int interval) async {
await _client.send('Profiler.setSamplingInterval', {
'interval': interval,
});
}