detectLongTasks property

bool detectLongTasks
getter/setter pair

Enable or disable detection of "long tasks"

Long task detection attempts to detect when an application is doing too much work on the main isolate which could prevent your app from rendering at a smooth framerate.

This option does not have any affect on options already set in the Native SDK, and only initializes long task detection on the main Dart isolate.

This option is ignored if RUM is not enabled in the Native SDK.

Defaults to true.

Implementation

bool detectLongTasks;