stopSampling method

Future<SamplingHeapProfile> stopSampling()

Returns: Recorded sampling heap profile.

Implementation

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