getHeapUsage method

Future<GetHeapUsageResult> getHeapUsage()

Returns the JavaScript heap usage. It is the total usage of the corresponding isolate not scoped to a particular Runtime.

Implementation

Future<GetHeapUsageResult> getHeapUsage() async {
  var result = await _client.send('Runtime.getHeapUsage');
  return GetHeapUsageResult.fromJson(result);
}