computeMissedFrameRasterizerBudgetCount method Null safety

int computeMissedFrameRasterizerBudgetCount(
  1. [Duration frameBuildBudget = kBuildBudget]
)

The number of frames that missed the kBuildBudget on the raster thread and therefore are in the danger of missing frames.

Implementation

int computeMissedFrameRasterizerBudgetCount([ Duration frameBuildBudget = kBuildBudget ]) => _extractGpuRasterizerDrawDurations()
    .where((Duration duration) => duration > kBuildBudget)
    .length;