mirror of
https://github.com/flutter/flutter
synced 2024-08-24 18:36:03 +00:00
Remove deprecated TimelineSummary.writeSummaryToFile (#143983)
https://github.com/flutter/flutter/issues/143956
This commit is contained in:
parent
91a6ec9a06
commit
20078f89bc
|
@ -373,20 +373,6 @@ class TimelineSummary {
|
|||
}
|
||||
}
|
||||
|
||||
/// Writes [summaryJson] to a file.
|
||||
@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);
|
||||
}
|
||||
|
||||
Future<void> _writeSummaryToFile(
|
||||
String traceName, {
|
||||
required String destinationDirectory,
|
||||
|
|
Loading…
Reference in a new issue