blob: 3619da86d2d5c602859292bb24274765c6b9cdba [file]
// Copyright 2017, the Chromium project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
part of cloud_firestore;
class GeoPoint {
final double latitude;
final double longitude;
const GeoPoint(this.latitude, this.longitude);
@override
bool operator ==(dynamic o) =>
o is GeoPoint && o.latitude == latitude && o.longitude == longitude;
@override
int get hashCode => hashValues(latitude, longitude);
}