equalsValue method
Implementation
bool equalsValue(Object other) {
if (other is UcumDecimal) {
final num? thisValue = num.tryParse(asUcumDecimal());
final num? otherValue = num.tryParse(other.asUcumDecimal());
if (thisValue == null) {
return false;
} else {
return thisValue == otherValue;
}
} else {
return false;
}
}