start method

  1. @override
Future<void> start({
  1. required TracingSettings settings,
})

Starts tracing all WebViews. 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:

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);
}