writeSummaryToFile method Null safety

  1. @Deprecated('Use TimelineSummary.writeTimelineToFile. ' 'This feature was deprecated after v2.1.0-13.0.pre.')
Future<void> writeSummaryToFile(
  1. String traceName,
  2. {String? destinationDirectory,
  3. bool pretty = false}
)
Deprecated('Use TimelineSummary.writeTimelineToFile. ' 'This feature was deprecated after v2.1.0-13.0.pre.')">@Deprecated('Use TimelineSummary.writeTimelineToFile. ' 'This feature was deprecated after v2.1.0-13.0.pre.')

Writes summaryJson to a file.

Implementation

@Deprecated(
  'Use TimelineSummary.writeTimelineToFile. '
  'This feature was deprecated after v2.1.0-13.0.pre.'
)
Future<void> writeSummaryToFile(
  String traceName, {
  String? destinationDirectory,
  bool pretty = false,
}) async {
  destinationDirectory ??= testOutputsDirectory;
  await _writeSummaryToFile(traceName, destinationDirectory: destinationDirectory, pretty: pretty);
}