getSamplingProfile method

Future<SamplingProfile> getSamplingProfile()

Retrieve native memory allocations profile collected since last startSampling call.

Implementation

Future<SamplingProfile> getSamplingProfile() async {
  var result = await _client.send('Memory.getSamplingProfile');
  return SamplingProfile.fromJson(result['profile'] as Map<String, dynamic>);
}