devicePixelRatioTestValue property Null safety
Hides the real device pixel ratio and reports the given devicePixelRatio
instead.
Implementation
set devicePixelRatioTestValue(double devicePixelRatio) { // ignore: avoid_setters_without_getters
_devicePixelRatio = devicePixelRatio;
onMetricsChanged?.call();
}