debugResetMetrics method

void debugResetMetrics ()

Resets the debugSymmetricPaintCount and debugAsymmetricPaintCount counts to zero.

Only valid when asserts are enabled. Does nothing in release builds.

Implementation

void debugResetMetrics() {
  assert(() {
    _debugSymmetricPaintCount = 0;
    _debugAsymmetricPaintCount = 0;
    return true;
  }());
}