getScaleFactor method Null safety

double getScaleFactor()

Returns the overall scale factor.

@return the combined device/user scale factor.

Implementation

double getScaleFactor() {
  return deviceScaleFactor * this.userScaleFactor;
}