hashCode property

  1. @override
int hashCode
override

@see Object#hashCode()

Implementation

@override
int get hashCode {
  int result = 17;
  int latInt = _latitude.toInt() ^ (_latitude * 10000).round();
  int lonInt = _longitude.toInt() ^ (_longitude * 10000).round();
  int elevInt = _elevation?.toInt() ?? 0 ^ (_elevation ?? 0 * 10000).round();
  result = 37 * result + runtimeType.hashCode;
  result += 37 * result + latInt;
  result += 37 * result + lonInt;
  result += 37 * result + elevInt;
  result += 37 * result + _locationName.hashCode;
  result += 37 * result + _dateTime.hashCode;
  return result;
}