startSampling method
Start collecting native memory profile.
samplingInterval
Average number of bytes between samples.
suppressRandomness
Do not randomize intervals between samples.
Implementation
Future<void> startSampling(
{int? samplingInterval, bool? suppressRandomness}) async {
await _client.send('Memory.startSampling', {
if (samplingInterval != null) 'samplingInterval': samplingInterval,
if (suppressRandomness != null) 'suppressRandomness': suppressRandomness,
});
}