handle method

Future<void> handle(
  1. ReportCollection reportCollection, {
  2. required bool offlineFile,
  3. bool doClear = true,
})

handle a report sent by the worker. doClear: if handleSuiteInfoProto should clear the already known suite info. set to false on widget tests.

Implementation

Future<void> handle(
  ReportCollection reportCollection, {
  required bool offlineFile,
  bool doClear = true,
}) async {
  for (final item in reportCollection.items) {
    await _handleItem(item, offlineFile: offlineFile, doClear: doClear);
  }
}