deferFirstFrameReport method

void deferFirstFrameReport ()

Tell the framework not to report the frame it is building as a "useful" first frame until there is a corresponding call to allowFirstFrameReport.

This is used by WidgetsApp to avoid reporting frames that aren't useful during startup as the "first frame".


void deferFirstFrameReport() {
  if (!kReleaseMode) {
    assert(_deferFirstFrameReportCount >= 0);
    _deferFirstFrameReportCount += 1;