onReportingApiReportAdded property

Stream<ReportingApiReport> get onReportingApiReportAdded

Is sent whenever a new report is added. And after 'enableReportingApi' for all existing reports.

Implementation

Stream<ReportingApiReport> get onReportingApiReportAdded => _client.onEvent
    .where((event) => event.name == 'Network.reportingApiReportAdded')
    .map(
      (event) => ReportingApiReport.fromJson(
        event.parameters['report'] as Map<String, dynamic>,
      ),
    );