operator == method
Determines whether this unit of measurement value is equal to other
.
Two units of measurement values are considered equal only if they are of the same type and their baseValue is the same.
Implementation
@override
bool operator ==(Object other) =>
other is TValue && baseValue == other.baseValue;