numeratorUnit method

dynamic numeratorUnit()

Implementation

dynamic numeratorUnit() {
  switch (this) {
    case Ratio.nanoMolesPerMole:
      return AMOUNT_OF_SUBSTANCE.nanomoles;

    case Ratio.microMolesPerMole:
      return AMOUNT_OF_SUBSTANCE.micromoles;

    case Ratio.milliMolesPerMole:
      return AMOUNT_OF_SUBSTANCE.millimoles;

    case Ratio.microGramsPerNanoGram:
      return MASS.micrograms;

    case Ratio.nanoGramsPerMilliGram:
      return MASS.nanograms;

    case Ratio.microGramsPerMilliGram:
      return MASS.micrograms;

    case Ratio.milliGramsPerMilliGram:
      return MASS.milligrams;

    case Ratio.nanoGramsPerGram:
      return MASS.nanograms;

    case Ratio.microGramsPerGram:
      return MASS.micrograms;

    case Ratio.milliGramsPerGram:
      return MASS.milligrams;

    case Ratio.gramsPerGram:
      return MASS.grams;

    case Ratio.nanoGramsPerKiloGram:
      return MASS.nanograms;

    case Ratio.microGramsPerKiloGram:
      return MASS.micrograms;

    case Ratio.milliGramsPerKiloGram:
      return MASS.milligrams;

    case Ratio.gramsPerKiloGram:
      return MASS.grams;

    case Ratio.picoMolesPerMicroMole:
      return AMOUNT_OF_SUBSTANCE.picomoles;

    case Ratio.nanoMolesPerMilliMole:
      return AMOUNT_OF_SUBSTANCE.nanomoles;

    case Ratio.milliLitersPerDeciLiter:
      return VOLUME.milliliters;

    case Ratio.picoGramsPerMilliMeter:
      return MASS.picograms;

    // case Ratio.milliMolesPerSquareMeter:
    //   return AMOUNT_OF_SUBSTANCE.millimoles;

    case Ratio.femtoMolesPerMilliGram:
      return AMOUNT_OF_SUBSTANCE.femtomoles;

    case Ratio.nanoMolesPerMilliGram:
      return AMOUNT_OF_SUBSTANCE.nanomoles;

    case Ratio.microMolesPerMilliGram:
      return AMOUNT_OF_SUBSTANCE.micromoles;

    case Ratio.molesPerKiloGram:
      return AMOUNT_OF_SUBSTANCE.moles;

    case Ratio.femtoMolesPerGram:
      return AMOUNT_OF_SUBSTANCE.femtomoles;

    case Ratio.nanoMolesPerGram:
      return AMOUNT_OF_SUBSTANCE.nanomoles;

    case Ratio.microMolesPerGram:
      return AMOUNT_OF_SUBSTANCE.micromoles;

    case Ratio.milliMolesPerGram:
      return AMOUNT_OF_SUBSTANCE.millimoles;

    case Ratio.milliMolesPerKiloGram:
      return AMOUNT_OF_SUBSTANCE.millimoles;

    case Ratio.milliLitersPerKiloGram:
      return VOLUME.milliliters;

    case Ratio.litersPerKilogram:
      return VOLUME.liters;

    case Ratio.kiloCaloriesPerOunce:
      return ENERGY.kilocalories;

    // case Ratio.gramsPerSquareMeter:
    //   return MASS.grams;

    case Ratio.kiloGramsPerSquareMeter:
      return MASS.kilograms;

    // case Ratio.microGramsPerSquareMeter:
    //   return MASS.micrograms;

    case Ratio.milliGramsPerSquareMeter:
      return MASS.milligrams;

    // case Ratio.nanoGramsPerSquareMeter:
    //   return MASS.nanograms;

    case Ratio.milliGramsPerDeciLiter:
      return MASS.milligrams;

    case Ratio.gramsPerDeciLiter:
      return MASS.grams;

    case Ratio.nanoGramsPerLiter:
      return MASS.nanograms;

    case Ratio.picoGramsPerLiter:
      return MASS.picograms;

    case Ratio.microGramsPerLiter:
      return MASS.micrograms;

    case Ratio.milliGramsPerLiter:
      return MASS.milligrams;

    case Ratio.gramsPerLiter:
      return MASS.grams;

    case Ratio.kiloGramsPerLiter:
      return MASS.kilograms;

    case Ratio.milliGramsPerCubicMeter:
      return MASS.milligrams;

    case Ratio.milliGramsPerCubicCentimeter:
      return MASS.milligrams;

    case Ratio.gramsPerCubicCentimeter:
      return MASS.grams;

    case Ratio.kiloGramsPerCubicMeter:
      return MASS.kilograms;

    case Ratio.femtoMolesPerMilliLiter:
      return AMOUNT_OF_SUBSTANCE.femtomoles;

    case Ratio.picoMolesPerMilliLiter:
      return AMOUNT_OF_SUBSTANCE.picomoles;

    case Ratio.nanoMolesPerMilliLiter:
      return AMOUNT_OF_SUBSTANCE.nanomoles;

    case Ratio.microMolesPerMilliLiter:
      return AMOUNT_OF_SUBSTANCE.micromoles;

    case Ratio.molesPerMilliLiter:
      return AMOUNT_OF_SUBSTANCE.moles;

    case Ratio.picoMolesPerDeciLiter:
      return AMOUNT_OF_SUBSTANCE.picomoles;

    case Ratio.nanoMolesPerDeciLiter:
      return AMOUNT_OF_SUBSTANCE.nanomoles;

    case Ratio.microMolesPerDeciLiter:
      return AMOUNT_OF_SUBSTANCE.micromoles;

    case Ratio.milliMolesPerDeciLiter:
      return AMOUNT_OF_SUBSTANCE.millimoles;

    case Ratio.milliMolesPerLiter:
      return AMOUNT_OF_SUBSTANCE.millimoles;

    case Ratio.picoMolesPerLiter:
      return AMOUNT_OF_SUBSTANCE.picomoles;

    case Ratio.nanoMolesPerLiter:
      return AMOUNT_OF_SUBSTANCE.nanomoles;

    case Ratio.microMolesPerLiter:
      return AMOUNT_OF_SUBSTANCE.micromoles;

    case Ratio.molesPerLiter:
      return AMOUNT_OF_SUBSTANCE.moles;

    case Ratio.molesPerCubicMeter:
      return AMOUNT_OF_SUBSTANCE.moles;

    case Ratio.gramsPerMilliLiter:
      return MASS.grams;

    case Ratio.nanoGramsPerMilliLiter:
      return MASS.nanograms;

    case Ratio.picoGramsPerMilliLiter:
      return MASS.picograms;

    case Ratio.microGramsPerDeciLiter:
      return MASS.micrograms;

    case Ratio.microGramsPerMilliLiter:
      return MASS.micrograms;

    case Ratio.milliGramsPerMilliliter:
      return MASS.milligrams;
  }
}