reportInner method

Future<void> reportInner(
  1. ReportCollection request
)

report() but without a ServiceCall

Implementation

Future<void> reportInner(ReportCollection request) async {
  await _reportLock.synchronized(() async {
    await GetIt.I.get<ReportHandlerService>().handle(request, offlineFile: false);

    // NOTE *first* handle by ReportHandlerService, *then* by ReportSaverService,
    //      because ReportHandlerService may let ReportSaverService change target file
    await GetIt.I.get<ManagerReportSaverService>().save(request);
  });
}