saveReport method
Public method or function.
Implementation
Future<void> saveReport(
DiagnosticReport report,
FileSystem fs,
String outputPath,
) async {
final json = toJson(report);
await fs.writeAsStringAsync(outputPath, json);
}
Public method or function.
Future<void> saveReport(
DiagnosticReport report,
FileSystem fs,
String outputPath,
) async {
final json = toJson(report);
await fs.writeAsStringAsync(outputPath, json);
}