double computeAverageFrameBuildTimeMillis()

Average amount of time spent per frame in the framework building widgets, updating layout, painting and compositing.

Returns null if no frames were recorded.

Source

double computeAverageFrameBuildTimeMillis() {
  return _averageDurationInMillis(_extractFrameEvents());
}