clearDevicePixelRatioTestValue method Null safety
Deletes any existing test device pixel ratio and returns to using the real device pixel ratio.
Implementation
void clearDevicePixelRatioTestValue() {
_devicePixelRatio = null;
onMetricsChanged?.call();
}