valueInUnits method

  1. @Deprecated("Use coerceValue instead.")
double valueInUnits(
  1. List<String> newNumerators,
  2. List<String> newDenominators,
  3. [String? name]
)

This has been renamed coerceValue for consistency with coerceToMatch, coerceValueToMatch, convertToMatch, and convertValueToMatch.

Implementation

@Deprecated("Use coerceValue instead.")
double valueInUnits(List<String> newNumerators, List<String> newDenominators,
        [String? name]) =>
    coerceValue(newNumerators, newDenominators, name);