operator == method

  1. @override
bool operator ==(
  1. Object? other
)
override

Check this Temperature has same hashCode with other.

For checking this Temperauter is repersenting same Temperature in measurment, use equalsInMeasure insteaded.

Implementation

@override
bool operator ==(Object? other) => this.hashCode == other.hashCode;