getTargetPixelRatio method

double getTargetPixelRatio()

Implementation

double getTargetPixelRatio() => _currentRenderTarget == null ? _pixelRatio : 1.0;