equalsInMeasure method

bool equalsInMeasure(
  1. Temperature other
)

Check this Temperature has the same measurment of other.

For checking is equal with same Object, use == insteaded.

Implementation

bool equalsInMeasure(Temperature other) => compareTo(other) == 0;