Future<void> onSaveReport(String jsonReport, String path) async { final file = File(path); await file.writeAsString(jsonReport); }