enableReportingApi method

Future<void> enableReportingApi(
  1. bool enable
)

Enables tracking for the Reporting API, events generated by the Reporting API will now be delivered to the client. Enabling triggers 'reportingApiReportAdded' for all existing reports. enable Whether to enable or disable events for the Reporting API

Implementation

Future<void> enableReportingApi(bool enable) async {
  await _client.send('Network.enableReportingApi', {
    'enable': enable,
  });
}