stop method

Future<bool> stop({
  1. String? filePath,
})

Stops tracing and flushes tracing data to the specified output stream. The data is sent to the specified output stream in json format typically in chunks.

Returns false if the WebView framework was not tracing at the time of the call, true otherwise.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • filePath: all platforms

Use the PlatformTracingController.isMethodSupported method to check if this method is supported at runtime.

Implementation

Future<bool> stop({String? filePath}) => platform.stop(filePath: filePath);