setSessionProfilerEnabled static method
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);
}