operator == method

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

Compare two coordinates for equality.

Implementation

@override
bool operator ==(Object other) {
  return (other is GeoCoordinate) &&
      (other.x == x) &&
      (other.y == y) &&
      (other.z == z);
}