clearDevicePixelRatioTestValue method Null safety

void clearDevicePixelRatioTestValue()

Deletes any existing test device pixel ratio and returns to using the real device pixel ratio.

Implementation

void clearDevicePixelRatioTestValue() {
  _devicePixelRatio = null;
  onMetricsChanged?.call();
}