stopTracingAndDownloadTimeline method Null safety

Future<Timeline> stopTracingAndDownloadTimeline(
  1. {Duration timeout = kUnusuallyLongTimeout}
)

Stops recording performance traces and downloads the timeline.

The timeout argument causes a warning to be displayed to the user if the operation exceeds the specified timeout; it does not actually cancel the operation.

For WebFlutterDriver, this is only supported for Chrome.

Implementation

Future<Timeline> stopTracingAndDownloadTimeline({
  Duration timeout = kUnusuallyLongTimeout,
}) async {
  throw UnimplementedError();
}