convertFromPixel method

double convertFromPixel(
  1. double value,
  2. int to
)

Converts from pixel.

Implementation

double convertFromPixel(double value, int to) {
  return value / _unitsProportions[to];
}