I am getting duplicate data result.
Here is my code:
// I only have one document in the database
GeoFlutterfire()
.collection(
collectionRef: Firestore.instance.collection('countries'))
.within(
center: GeoFirePoint(45.208794, -133.5497394),
radius: 50000,
field: "location",
strictMode: true).listen((snapshots){
int count = snapshots.length; // snapshots has two items of the same document.
});
I am getting duplicate data result.
Here is my code: