start method
Starts tracing all WebView
s.
Depending on the trace mode in trace config specifies how the trace events are recorded.
For tracing modes TracingMode.RECORD_UNTIL_FULL
and TracingMode.RECORD_CONTINUOUSLY
the events are recorded using an internal buffer and flushed to the outputStream
when stop is called.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - TracingController.start)
Implementation
@override
Future<void> start({required TracingSettings settings}) async {
Map<String, dynamic> args = <String, dynamic>{};
args.putIfAbsent("settings", () => settings.toMap());
await channel?.invokeMethod('start', args);
}