getBrowserSamplingProfile method

Future<SamplingProfile> getBrowserSamplingProfile()

Retrieve native memory allocations profile collected since browser process startup.

Implementation

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