stop method

  1. @override
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:

Implementation

@override
Future<bool> stop({String? filePath}) async {
  Map<String, dynamic> args = <String, dynamic>{};
  args.putIfAbsent("filePath", () => filePath);
  return await channel?.invokeMethod<bool>('stop', args) ?? false;
}