operator == method
Calculate the Euclidean distance from this LatLong to another.
@param other The LatLong to calculate the distance to @return the distance in degrees as a double
Implementation
// double distance(LatLong other) {
// return LatLongUtils.distance(this, other);
// }
@override
bool operator ==(Object other) =>
identical(this, other) || other is LatLong && runtimeType == other.runtimeType && latitude == other.latitude && longitude == other.longitude;