setSessionProfilerEnabled static method

Future<void> setSessionProfilerEnabled(
  1. bool sessionProfilerEnabled
)

Enable/disable session profiler sessionProfilerEnabled desired state of the session profiler feature.

Implementation

static Future<void> setSessionProfilerEnabled(
    bool sessionProfilerEnabled) async {
  final List<dynamic> params = <dynamic>[sessionProfilerEnabled];
  await _channel.invokeMethod<Object>('setSessionProfilerEnabled:', params);
}