ttffWarningMs property
Warning threshold in ms. Applied to StartupMetrics.ttffMs, which is
measured from Sleuth.init (Dart entry) to first-frame raster-finish.
The native pre-Dart phase — iOS (dyld, UIApplicationMain,
AppDelegate, FlutterEngine creation) or Android (Zygote fork,
Application.onCreate, ContentProvider init, FlutterActivity,
FlutterEngine creation), then Dart VM bootstrap + AOT snapshot
load on both — is excluded by design. These thresholds are
calibrated for the portion Dart code can actually move. See
StartupMetrics.engineTtffMs for the flutter run --trace-startup
-equivalent engine-level number.
Implementation
final int ttffWarningMs;