getDevicePixelRatio method

double getDevicePixelRatio()

Implementation

double getDevicePixelRatio() {
  // Subsequent version, remove this deprecated member.
  // ignore: deprecated_member_use
  return window.devicePixelRatio;
}