getHistogram method

Future<Histogram> getHistogram(
  1. String name, {
  2. bool? delta,
})

Get a Chrome histogram by name. name Requested histogram name. delta If true, retrieve delta since last delta call. Returns: Histogram.

Implementation

Future<Histogram> getHistogram(String name, {bool? delta}) async {
  var result = await _client.send('Browser.getHistogram', {
    'name': name,
    if (delta != null) 'delta': delta,
  });
  return Histogram.fromJson(result['histogram'] as Map<String, dynamic>);
}