computeMissedFrameBuildBudgetCount method Null safety

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

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

Implementation

int computeMissedFrameBuildBudgetCount([ Duration frameBuildBudget = kBuildBudget ]) => _extractFrameDurations()
  .where((Duration duration) => duration > kBuildBudget)
  .length;