convertRatioFromTo method

double? convertRatioFromTo(
  1. Ratio from,
  2. Ratio to
)

Implementation

double? convertRatioFromTo(Ratio from, Ratio to) => convertUnitsAsRatioFromTo(
      from.numeratorUnit(),
      from.denominatorUnit(),
      to.numeratorUnit(),
      to.denominatorUnit(),
    );