compareTo method
Returns the result of comparing this value's number to that of other
.
Throws an error if the unit of this value and other
do not match.
Implementation
@override
int compareTo(CssValue other) {
_checkMatchingUnits(other);
return number.compareTo(other.number);
}