onSaveReport method

Future<void> onSaveReport(
  1. String jsonReport,
  2. String path
)

Implementation

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