onLCPFinal property
Callback triggered once when the Largest Contentful Paint (LCP) metric is finalized. This happens when user interaction occurs (click, tap, keyboard input) or when the page is hidden. The callback provides the final LCP time in milliseconds since navigation start.
Implementation
LCPHandler? onLCPFinal;