requestMemoryDump method

Future<RequestMemoryDumpResult> requestMemoryDump({
  1. bool? deterministic,
  2. MemoryDumpLevelOfDetail? levelOfDetail,
})

Request a global memory dump. deterministic Enables more deterministic results by forcing garbage collection levelOfDetail Specifies level of details in memory dump. Defaults to "detailed".

Implementation

Future<RequestMemoryDumpResult> requestMemoryDump(
    {bool? deterministic, MemoryDumpLevelOfDetail? levelOfDetail}) async {
  var result = await _client.send('Tracing.requestMemoryDump', {
    if (deterministic != null) 'deterministic': deterministic,
    if (levelOfDetail != null) 'levelOfDetail': levelOfDetail,
  });
  return RequestMemoryDumpResult.fromJson(result);
}