recordPaint method

void recordPaint(
  1. Duration duration
)

Records paint duration accumulated by a RenderObjectElement during the current frame.

Implementation

void recordPaint(Duration duration) {
  _currentPaintDuration += duration;
}