debugFlushLastFrameImageSizeInfo function

  1. @visibleForTesting
void debugFlushLastFrameImageSizeInfo()

Flushes inter-frame tracking of image size information from paintImage.

Has no effect if asserts are disabled.

Implementation

@visibleForTesting
void debugFlushLastFrameImageSizeInfo() {
  assert(() {
    _lastFrameImageSizeInfo = <ImageSizeInfo>{};
    return true;
  }());
}