allowFirstFrameReport method

void allowFirstFrameReport ()

When called after deferFirstFrameReport: tell the framework to report the frame it is building as a "useful" first frame.

This method may only be called once for each corresponding call to deferFirstFrameReport.

This is used by WidgetsApp to report when the first useful frame is painted.


void allowFirstFrameReport() {
  if (!kReleaseMode) {
    assert(_deferFirstFrameReportCount >= 1);
    _deferFirstFrameReportCount -= 1;