coerce method Null safety
Returns a copy of this number, converted to the units represented by
This does not throw an error if this number is unitless and
newDenominators are not empty, or vice versa. Instead,
it treats all unitless numbers as convertible to and from all units
without changing the value.
Note that coerceValue is generally more efficient if the value is going to be accessed directly.
SassScriptException if this number's units aren't compatible
If this came from a function argument,
name is the argument name
$). It's used for error reporting.
SassNumber coerce(List<String> newNumerators, List<String> newDenominators, [String? name]) => SassNumber.withUnits(coerceValue(newNumerators, newDenominators, name), numeratorUnits: newNumerators, denominatorUnits: newDenominators);